Stipop Docs | Documentation for SDK and API

Stipop.configure

This method initializes the SDK from 'Stipop.json' file. As Stipop.json contains a unique key and customization details, it should always be called first. We recommend initializing this in the Application class.

Stipop.configure(context)

ParameterTypeDescription
contextcontextIt is used to read and set resources.
callback(Optional) ((isSuccess: Boolean) -> Unit)When the configuration is finished, the success or failure of the operation is returned as a boolean.
Application
1
2
3
4
5
6
7
8
9
10
11
class MyApplication : Application() {
    override fun onCreate() {
        super.onCreate()
        Stipop.configure(this, callback = { isConfigured ->
            when (isConfigured) {
                true -> TODO()
                false -> TODO()
            }
        })
    }
}
We’re here to help. Contact us.