@ada-support/react-native-sdk v3.2.7
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 - Follow Expo's Guide
- Java - 8
- Ruby 3.2.0
- XCode - Latest (get this from the App Store)
- If you installed xCode command line tools before xCode you may need to run
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
- If you installed xCode command line tools before xCode you may need to run
- Android Studio - Latest
- Node 20.x.x
- Ensure you download an iOS and/or an Android simulator in xCode/Android Studio and have them running.
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/"Local Development
1) Open a terminal inside the sample folder
2) Run npm run install-local-package. This will install all needed modules including our SDK from within your local machine (allowing local development)
3) If you want to run Android type npm run android or if you want to run iOS type npm run ios
NOTE: If you are using a production AI Agent - ensure you add http://localhost:8081 to your approved domains for it to allow the page to render.
Architecture
See the Embed README for information about architecture.
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
6 months ago
9 months ago
12 months ago
1 year ago
1 year ago
2 years ago
3 years ago
3 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
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago