The process of setting up and integrating Affise MMP SDK requires a mobile developer to complete the integration successfully. While setting up the SDK, consider the following preparations:
select the SDK you need;
define which events you are going to track;
define unique user identifiers you are going to send;
test installs and in-app events to make sure everything is properly sent.
Affise MMP SDKs
Affise MMP offers the following SDKs:
SDK initialization
To initialize Affise MMP SDK, you need to use the correspondent initialization request.
Android SDK (Kotlin) example:
class App : Application() {
override fun onCreate() {
super.onCreate()
Affise
.settings(
affiseAppId = "Your appId", //Change to your app id
secretKey = "Your SDK secretKey", //Change to your SDK secretKey
)
.start(this) // Start Affise SDK
}
}
To get Affise App ID and Secret Key, add your application to your Affise MMP account, and then get the values once the application is saved.
To check whether SDK is initialized, you can use the following request:
Affise.isInitialized()
Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].