1. Including the SDK

Adding the Gradle Dependency

Add the Sentiance repository to your project (top-level) build.gradle file.

allprojects {
  repositories {
    maven {
      url "https://repository.sentiance.com"

In the build.gradle file of your app module, add the following line to the dependencies section.

implementation (platform('com.sentiance:sdk-bom:6.8.+'))
implementation ('com.sentiance:sdk')

Your app should now build with the Sentiance SDK as a dependency.

Proguard Rules

The Sentiance SDK includes all necessary Proguard rules. These are automatically applied to your app during the build process.


If you are using DexGuard, please add the following rule, to prevent SDK manifest metadata from being removed.

-keepresourcexmlelements manifest/application/meta-data@name=com.sentiance.sdk.**

Last updated