Get started

Prerequisite

Before starting DriveKit Permissions Utils UI integration, make sure that you have initialized Common UI components.

Integration

To add the Permissions Utils 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

An initialization phase is required to use the functions offered by the PermissionsUtils UI module. To initialize the Permissions Utils module in your app, you must call the initialization method in onCreate method of your Application class:

PermissionsUtilsUI.initialize()

Last updated