Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
src/ | H | 25-Apr-2025 | - | 813 | 485 | |
README.md | H A D | 25-Apr-2025 | 696 | 24 | 17 | |
build.gradle.kts | H A D | 25-Apr-2025 | 2.9 KiB | 88 | 53 |
README.md
1# Lint checks for Permissions for Jetpack Compose 2 3Lint checks for preventing calling `PermissionState.launchPermissionRequest` and 4`MultiplePermissionsState.launchMultiplePermissionRequest()` within the Composition as that throws 5a runtime exception. 6 7These functions should be called inside a regular lambda or a side-effect but never in the 8Composition. 9 10These lint checks will be automatically applied to your project when using 11 [Permissions](https://google.github.io/accompanist/permissions/). 12 13## Download Permissions for Jetpack Compose 14 15```groovy 16repositories { 17 mavenCentral() 18} 19 20dependencies { 21 implementation "com.google.accompanist:accompanist-permissions:<version>" 22} 23``` 24