1. Including the SDK
React Native
Install the Sentiance Core React Native module, by running the following command in your terminal, inside the project directory:
The module should now be added to your project's package.json file.
The @sentiance-react-native/core
module must be installed before using any other Sentiance service.
Native
All Sentiance modules support autolinking, which is available since React Native v0.60, the minimum supported React Native version by Sentiance. Autolinking takes care of discovering and linking the native code dependencies to your project.
iOS Setup
In the terminal, run the following command inside your project's ios directory:
Android setup
Add the Sentiance maven repository to the build.gradle file in your project's android directory:
This will allow Gradle to find and download the necessary native Sentiance SDK libraries.
Last updated