Installation
1
Install Package
2
Add the below dependency
Add the this dependency in project level build.gradle, inside allprojects > repositories.
3
Add Android SDK dependency inside in app level build.gradle.
Note:If you get any error regarding minSdkVersion please update it to 19 or more.
Initialization
1
Initialise the Suprsend Android SDK
Initialise the Suprsend android SDK in MainApplication.java inside Replace
onCreate
method and just above super.onCreate()
line.WORKSPACE KEY
and WORKSPACE SECRET
with your workspace values. You will get them the tokens from Settings -> API Keys inside Suprsend dashboard.2
Import SuprSend SDK in your client side Javascript code.