Skip to content

dynamic-labs/react-native-v0.72.10-expo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native v0.72.10 + Expo example app

This repo uses React Native v0.72.10 and Expo to create a simple app that integrated with the dynamic SDK

The main change needed to make the v0.72.10 work with the dynamic SDK is to add the following to package.json:

"overrides": {
  "@dynamic-labs/react-native-extension": {
    "react-native": ">=0.72.10",
    "react-native-webview": ">=13.2.2",
    "expo-linking": "~5.0.2"
  }
}

Getting Started

Install dependencies

npm install

Add your Dynamic Env ID

You can create your own Dynamic environment by signing up at Dynamic. Once you have created an environment, you can find the environment ID in the Dynamic dashboard.

Then add the environment ID to the App.js file.

const dynamic = createClient({
  environmentId: "--- env id ---",
}).extend(ReactNativeExtension());

Run the app

npm run start