Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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>"
}