React Native SDK (23.4.0-beta1)
Introduction
This guide only includes features introduced in beta versions. For a full SDK guide of the latest stable version, see the React Native SDK guide.
The current beta release is 23.4.0-beta1.
The current stable release is 23.3.0.
Installation
To include the beta React Native SDK in your existing React Native app, run the following command:
npm install @atomic.io/react-native-atomic-sdk@beta
Or if you are using yarn:
yarn add @atomic.io/react-native-atomic-sdk@beta
Installation instructions can also be found in the public NPM module: https://www.npmjs.com/package/@atomic.io/react-native-atomic-sdk.
The React Native SDK supports auto-linking.
iOS
Navigate to the directory containing your Podfile (normally ios
), and run pod install
to install the latest Pods. You should see the following dependency in the output:
...
Installing react-native-atomic-sdk (x.y.z)
...
Android
Add the following block to the build.gradle
file in your app's android
directory, alongside the other React Native dependencies. This will allow the Atomic Android SDK dependency to be downloaded from our public Maven repository.
allprojects {
repositories {
...
maven {
url "https://downloads.atomic.io/android-sdk/maven"
}
}
}