Configuration
Setup the project
You will need to add the MobbID SDK libraries to the libs
folder of your project. Then, ensure that all .aar
artifacts are included.
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.aar"))))
Depending on your project's initial configuration, you may need to include certain third-party libraries. Review the sample project provided to you, or contact Mobbeel for assistance if you encounter any issues at this stage.
Initialize the SDK
The first step is to initialize the MobbID SDK. This step must be completed before performing any other actions with the SDK.
MIDSDK.initSDK(
applicationId = "your_application_id",
authToken = "your_auth_token",
serverUrl = "your_server_url",
context = applicationContext,
)
To locate the applicationId
, authToken
, and serverUrl
, please refer to the Licenses section.
Once the SDK has been initialized, you can proceed to configure the remaining modules: