Find our complete documentation on [https://docs.datadome.co](https://docs.datadome.co/docs/sdk-react-native-fetch-restructured)

# Installation

Use the [npm](https://docs.npmjs.com/) package manager to install [react-native-datadome](https://www.npmjs.com/package/@datadome/react-native-datadome) in your React Native project repository.

The React Native Fetch package uses the following dependency:

- [react-native-webview](https://github.com/react-native-community/react-native-webview)

To install all dependencies, run:

```shell bash
npm install --save @datadome/react-native-datadome react-native-webview
```

# Setup

## Import the package

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;
```
