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

# React Native

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

## Linking

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

## React Native WebView

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

{% hint style="warning" %}
Make sure to substitute **\[API\_KEY]** with your actual website API key and **\[USER\_ID]** with the unique identifier of the user viewing the wall on your site.
{% endhint %}
