React Native SDK
Installation prerequisites
OS | Minimum Version | Minimum Build Environment |
---|---|---|
iOS | 14 | swift-tools-version: 5.9 |
macOS | 12 | swift-tools-version: 5.9 |
Installation Prerequisites
OS | MinSDK | Prerequisite |
---|---|---|
Android | 24 | GitHub user & Personal Access Token |
Generate a personal access token for GitHub
In you GitHub account:
- If you don't have a user, register to Github.
- Go to Settings › Developer Settings › Personal Access Tokens › Generate new token
- Make sure you select the following scopes: (“
read:packages
") and Generate a token - Make sure to copy your new personal access token. You won't be able to see it again! Your only option if it's lost is to generate a new key.
Installing the React Native SDK
Add authentication
first add a .npmrc
file to your root project with your token:
@dynamicyield:registry=https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
Install Package
Then you can use the react-netive version via npm:
npm install @DynamicYield/[email protected]
Updated about 3 hours ago