StartaskPermissions
StartaskPermissions is a library that helps to handle runtime permissions on Android, entirely written using Kotlin language.
Using in your projects
Gradle
The library is published to JitPack repository.
- Add the JitPack repository to your root build.gradle at the end of repositories.
- Add the dependency
Usage with Kotlin
- Add the following line to AndroidManifest.xml:
- Create a
Permission
object
- Check and request permission if needed
- Delegate the permission handling to library