tree: fe1f93b11a3e6a581288788b22f2dc3617c56caa [path history] [tgz]
  1. src/
  2. build.gradle.kts
  3. README.md
permissions-lint/README.md

Lint checks for Permissions for Jetpack Compose

Lint checks for preventing calling PermissionState.launchPermissionRequest and MultiplePermissionsState.launchMultiplePermissionRequest() within the Composition as that throws a runtime exception.

These functions should be called inside a regular lambda or a side-effect but never in the Composition.

These lint checks will be automatically applied to your project when using 📫 Permissions.

Download Permissions for Jetpack Compose

repositories {
    mavenCentral()
}

dependencies {
    implementation "com.google.accompanist:accompanist-permissions:<version>"
}