React Native SDK

Installation prerequisites

OSMinimum VersionMinimum Build Environment
iOS14swift-tools-version: 5.9
macOS12swift-tools-version: 5.9

Installation Prerequisites

OSMinSDKPrerequisite
Android24GitHub user & Personal Access Token

Generate a personal access token for GitHub

In you GitHub account:

  1. If you don't have a user, register to Github.
  2. Go to Settings › Developer Settings › Personal Access Tokens Generate new token
  3. Make sure you select the following scopes: (“read:packages") and Generate a token
  4. 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]