Skip to main content

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 onCreate method and just above super.onCreate() line.
Replace 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.

Logging

By default the logs of SuprSend SDK are disabled. You can enable the logs just in debug mode while in development by the below condition.