@datadome/react-native-datadome
v2.0.2
Published
Module for supporting DataDome in React Native applications.
Readme
Find our complete documentation on https://docs.datadome.co
Installation
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:
npm install --save @datadome/react-native-datadome react-native-webviewSetup
Import the package
The DataDomeFetch function is a replacement for the built-in fetch API and includes an interceptor to handle DataDome responses.
import { DataDome, DataDomeModal, DataDomeFetch } from '@datadome/react-native-datadome';
const fetch = DataDomeFetch;