Get started

Prerequisite

Before starting DriveKit Permissions Utils UI integration, make sure that you have initialized Common UI module, especially if you have disabled the SDK auto-initialization.

Integration

To add the Permissions Utils UI module to your app, add the following line to your dependencies in your application build.gradle file:

dependencies {
    implementation 'com.drivequant.drivekit:drivekit-permissions-utils-ui:$drivekitui_version'
}

Replace $drivekitui_version with the DriveKit version you are using in your app

On a Github repository, you can find a demo app and the source code of Permissions Utils UI that you can use as an example.

Initialization

If you have disabled the SDK auto-initialization, the Permissions Utils UI module must also be manually initialized.

Then, to initialize the module in your app, you must call the initialization method in onCreate method of your Application class:

fun initialize()

Last updated