Search…
1. Android Checklist
Follow the step below to integrate the Android SDK.

1. Installation

1.1 Dependency

2. Configuration

2.2 Notification & Foreground Service

3. Usage

3.1 SentianceHelper.kt
3.2 Initialization & Background Collection

4. Data Collection & SDK User Creation

In order for the SDK to collect data the application would need to first "create a user" on the SDK. The "createUser" should ideally be called when the user registers, logs in.
4.1 createUser
4.2 link
4.3 User linking in your backend
4.3 metaUserLinkerCallback.success()

Verifying the Integration

You can verify the SDK integration by reading the following statuses from the SDK
Sentiance.getInstance().getInitState()
INITIALIZED
Sentiance.getInstance().getSdkStatus().startStatus
STARTED
Note: If you find the startStatus to be PENDING it usually implies that the user has not granted location:always permission. To know more, click here
You can continue reading through the next sections to get a deeper understanding of the integration and the SDK capabilities.