Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.quepass.com/llms.txt

Use this file to discover all available pages before exploring further.

The SDK must be initialized before using any feature. 

Code Example

@Inject
lateinit var sdkInitializer: SDKInitializer

override fun onCreate() {
    super.onCreate()

    // ONE TIME initialization
    QuePass.initialize(
        context = this,   // only here
        initializer = quepassInitializer,
        licenseKey = licenseKey,
        bundleId = bundleId
    ) { result ->

        result.onSuccess {
            Log.d("INIT", "License Verified ")
        }

        result.onFailure {
            Log.e("INIT", "License Failed  ${it.message}")
        }

    }
}
Initialize the SDK only once inside your Application class onCreate() method — re-initializing it elsewhere may cause unexpected behavior or license validation issues.