Getting Started
Unlock the power of data insights and elevate user engagement with seamless integration of the Antsomi Android SDK
Last updated
Unlock the power of data insights and elevate user engagement with seamless integration of the Antsomi Android SDK
Last updated
The easiest way to use Antsomi SDK in your Android project is with . Antsomi Android SDK is hosted on mavenCentral
Maven repository.
Add dependencies of Antsomi in the app/build.gradle
file.
Important
Antsomi SDK only supports Android SDK 16 and above.
From onCreate
callback of your Application class, initialize Antsomi SDK instance as shown below
In which:
portalId
Your CDP365 Portal ID.
564890637
sourceId
Your CDP365 Event Source ID.
564993464
appId
Your CDP365 Application ID.
e4e8d06e-4d97-43df-93e8-c36238147ca0
By default, the Antsomi SDK will fire the event screen view automatically when the Activity stack is changed, if the developer wants to control it, simply add this line after initialize
By default, the Antsomi SDK will not display the media template from Antsomi customer journeys, if you want to show it, add this line after initialize
NEXT STEP
If you haven't had your Application ID, please follow this .