> For the complete documentation index, see [llms.txt](https://make-money.gitbook.io/integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://make-money.gitbook.io/integration/platform/react-native.md).

# React Native

If you are looking to integrate MM Wall 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.

## **If ADID is Available**

#### Linking

```javascript
import { Linking } from 'react-native';
Linking.openURL('https://wall.make-money.top/?p={publisher_id}&u={user_id}&a={adid}');
```

#### 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://wall.make-money.top/?p={publisher_id}&u={user_id}&a={adid}' }} />;
```

Please replace `{publisher_id}` with the Publisher ID that was provided to you by the MM Wall Team. Please replace `{user_id}` with a unique id for your current app user. To boost your revenue through better conversion tracking quality, please replace `{adid}` with the Google Advertising ID (GAID) of your user on Android and with the Apple Identifier for Advertisers (IDFA) of your user on iOS.

## **If ADID is Unavailable**

#### Linking

```javascript
import { Linking } from 'react-native';
Linking.openURL('https://wall.make-money.top/?p={publisher_id}&u={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://wall.make-money.top/?p={publisher_id}&u={user_id}' }} />;
```

Please replace `{publisher_id}` with the Publisher ID that was provided to you by the MM Wall Team. Please replace `{user_id}` with a unique id for your current app user.

## Optional: SubID

In case, you need to track a SubID, you can append it as follows:

```
&s={subid}
```
