Get started

For native integration, follow the steps outlined to integrate the Sense360 Android SDK into your application.

Before you begin

Before using the Android SDK, contact Medallia Support with this information:

  • Application ID. This corresponds to the applicationId element in your build.gradle and it is used to register and setup your application.

Requirements

These are the technical requirements to add the Sense360 by Medallia Android SDK:

  1. SDK requirements:

    • Android 9.0 - 14.0 (API levels 28 - 34)
  2. Android requirements:

  3. Set up a physical Android device.

  4. Application cannot be built using a cross compiler.

The Android SDK is compiled with targetSdkVersion 34.

Add the Sense360 Android SDK to your application

To add the Sense360 Android SDK to your application, see Add the Android SDK.

Permissions

The Sense360 Android SDK adds these permissions, defined in AndroidManifest.xml:

android.permission.INTERNET
android.permission.ACCESS_NETWORK_STATE
android.permission.ACCESS_WIFI_STATE
android.permission.CHANGE_WIFI_STATE
android.permission.VIBRATE
android.permission.FOREGROUND_SERVICE
android.permission.ACCESS_COARSE_LOCATION
android.permission.ACCESS_FINE_LOCATION
android.permission.ACCESS_BACKGROUND_LOCATION
android.permission.RECEIVE_BOOT_COMPLETED

Dependencies

These dependencies are automatically added to your project:

dependencies {
      implementation "androidx.appcompat:appcompat:1.0.0"
      implementation "io.jsonwebtoken:jjwt-impl:0.10.7"
      implementation "com.google.android.gms:play-services-location:21.0.1"
      implementation "com.google.code.gson:gson:2.10.1"
      implementation "com.squareup.okhttp3:okhttp:4.10.0"
      implementation "androidx.work:work-runtime:2.7.1"
}