@atomic.io/react-native-atomic-sdk
v24.1.0
Published
React Native Wrapper for the Atomic iOS and Android SDKs.
Downloads
61
Readme
React Native SDK
The React Native wrapper for the native Atomic SDKs (iOS and Android).
Requirements
- React Native 0.63+;
- Xcode 12+.
Installation
To include the React Native SDK in your existing React Native app, run the following command:
npm install @atomic.io/react-native-atomic-sdk
Or if you are using yarn:
yarn add @atomic.io/react-native-atomic-sdk
The React Native SDK supports auto-linking. There is an additional step required on iOS to get set up:
iOS
Navigate to the directory containing your Podfile, 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"
}
}
}
Documentation
Complete documentation for the React Native wrapper is available on our documentation site.