Module for supporting DataDome in React Native applications.
npm install @datadome/react-native-datadomeFind our complete documentation on https://docs.datadome.co
Use the npm package manager to install react-native-datadome in your React Native project repository.
The React Native Fetch package uses the following dependency:
To install all dependencies, run:
``shell bash`
npm install --save @datadome/react-native-datadome react-native-webview
The DataDomeFetch function is a replacement for the built-in fetch API and includes an interceptor to handle DataDome responses.
`javascript
import { DataDome, DataDomeModal, DataDomeFetch } from '@datadome/react-native-datadome';
const fetch = DataDomeFetch;
``