# React Native

If you are looking to integrate the offerwall into your React Native app, either open the offerwall in the default browser of the user with the Linking-API or use react-native-webview to show the offerwall inside your app.

### Linking

```javascript
import { Linking } from 'react-native';
Linking.openURL('https://revtoo.com/offerwall/[API_KEY]/[USER_ID]');
```

### **React Native WebView**

```javascript
/*
  Add react-native-webview to your dependencies. Using Yarn:
	yarn add react-native-webview
  Using npm:
	npm install --save react-native-webview
  Using Expo:
	npx expo install react-native-webview
*/
import { WebView } from 'react-native-webview';
return <WebView source={{ uri: 'https://revtoo.com/offerwall/[API_KEY]/[USER_ID]' }} />;
```

{% hint style="info" %}
Replace **\[API\_KEY]** with your website API key and **\[USER\_ID]** by the unique identifier code of the user of your site who is viewing the wall.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.revtoo.com/integrate-offerwall/react-native.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
