Getting 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 the following information:

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

Requirements

The following are the technical requirements for adding the Sense360 by Medallia Android SDK:

  1. SDK requirements:

    • Android 5.0 - 13.0 (API levels 21 - 33)
  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 33.

Adding the Sense360 Android SDK to your application

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

Permissions

The Sense360 Android SDK adds the following 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.ACTIVITY_RECOGNITION
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"
    }