⚛️React Native

SparkWall lives on the web, but it’s designed to give your app a seamless, native feel.

Linking

import { Linking } from 'react-native';
Linking.openURL('https://spark-wall.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://spark-wall.com/offerwall/[API_KEY]/[USER_ID]' }} />;

Last updated