Search…
2. Including the SDK
The latest version of the Sentiance SDK is 4.21.3.

Adding the Gradle Dependency

Add the Sentiance repository to your project (top-level) build.gradle file.
1
allprojects {
2
repositories {
3
...
4
maven {
5
url "https://repository.sentiance.com"
6
}
7
}
8
}
Copied!
In the build.gradle file of your app module, add the following line to the dependencies section.
1
implementation ('com.sentiance:sdk:[email protected]') { transitive = true }
Copied!
Your app should now build with the Sentiance SDK as a dependency.