@ada-support/react-native-sdk v3.2.2
Ada React Native SDK
Go here for client-facing docs.
Prerequisites
You will need to have the below installed in order to run/compile the code
- Java JDK - 17.x.x
- Java - 8
- XCode - Latest (get this from the App Store)
- Android Studio - Latest
- Node 16.x.x
Add the following to your PATH in bash (.profile) or zsh (.zshrc)
export ANDROID_HOME="/Users/<your mac user folder here>/Library/Android/sdk"
PATH="$PATH:${ANDROID_HOME}/platform-tools/"
Running the example app on Android
- To run the application on a simulated Android device, open Android Studio and start an AVD preferably one running Android 11 (API 30)
- In a terminal navigate to the
sample
folder, runnpm run android:with-install
to install all packages and install the module locally. It with automatically start up the simulator and install the app for you.
Running the example app on iOS
- In a terminal navigate to the
sample
folder and runnpm install
- In another terminal, navigate to
sample/ios
and runpod install
- Once finished, run
npm run ios:with-install
. It with automatically start up the simulator and install the app for you.
Note
If you are having problems with npm install
make sure you're on Node 16.x.x
Deploying to production
Update the version number in the package.json file by incrementing the version value by 1 on the least significant value (eg. if version is 0.0.1, update it to 0.0.2)
Get your PR reviewed and then squash and merge it to
master
. Merging your PR will automatically trigger the deploy to npm
5 months ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago