Skip to main content

Installation

Add the Dependency​

Kotlin DSL (build.gradle.kts):

dependencies {
implementation("com.b2metric:analytics-sdk:2.0.0")
}

Groovy (build.gradle):

dependencies {
implementation 'com.b2metric:analytics-sdk:2.0.0'
}

Permissions​

The SDK's manifest merges two permissions into your app automatically, both normal (no runtime prompt): INTERNET and ACCESS_NETWORK_STATE. The SDK collects no location and requests no location permission.