Revtoo
  • Getting Started
    • Introduction to Revtoo
    • Add your Placement
  • Integrate Offerwall
    • Required Information
    • Offerwall Parameters
    • Website Integration
    • Android Integration
    • iOS Integration
    • React Native
  • S2S Postback
    • Postback Parameters
    • Postback Security
  • API
    • Offers API
  • additional
    • Offer Gallery
    • Brand Creatives
    • Support
Powered by GitBook
On this page
  • Linking
  • React Native WebView
  1. Integrate Offerwall

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

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

React Native WebView

/*
  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]' }} />;

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.

PreviousiOS IntegrationNextPostback Parameters

Last updated 3 months ago