Skip to content

kontextso/sdk-react-native-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple project that demonstrates how to use the Kontex React Native SDK.

Getting Started

  1. This demo uses Expo. First, make sure you have set up your environment.

  2. Clone the repository.

git clone git@github.com:kontextso/sdk-react-native-demo.git
cd sdk-react-native-demo
  1. Install dependencies
npm install
  1. Update your publisher token and placement code.

Open constants.ts and replace the placeholders with your actual publisher token and placement code:

export const PUBLISHER_TOKEN = "<your publisher token>";
export const PLACEMENT_CODE = "<your placement code>";
  1. Run the development server (iOS or Android)
npm run ios
npm run android
  1. Click i to open the iOS simulator or a to open the Android emulator.

Learn More

To learn more about the Kontext React Native SDK, check out the following resource:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published