⚛️React Native
The YungPoints Offerwall is hosted on the web giving your application a native look-and-feel.
To integrate 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://jdcurrent.com/offers/31/YourTrackingID');
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://jdcurrent.com/offers/31/YourTrackingID' }} />;
Please replace YourTrackingID with a Unique User ID
Last updated