PermissionsDispatcher provides a simple annotation-based API to handle runtime permissions. This library lifts the burden that comes with writing a bunch of check statements whether permission has been granted or not from you, in order to keep your code clean and safe. PermissionsDispatcher introduces only a few annotations, keeping its general API concise. Annotate a method that explains why the permissions are needed. It passes in a PermissionRequest object which can be used to continue or abort the current permission request upon user input. Annotate a method that is invoked if the user doesn't grant the permissions. Annotate a method that is invoked if the user chose to have the device "never ask again" about permission. Now generated functions become much more concise and intuitive than Java version!

Features

  • Fully Kotlin/Java support
  • Special permissions support
  • 100% reflection-free
  • You can pick either of ktx or kapt
  • Attach annotations
  • PermissionsDispatcher introduces only a few annotations

Project Samples

Project Activity

See All Activity >

Categories

Security, Mobile

License

Apache License V2.0

Follow PermissionsDispatcher

PermissionsDispatcher Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PermissionsDispatcher!

Additional Project Details

Operating Systems

Android

Programming Language

Java

Related Categories

Java Security Software, Java Mobile Software

Registered

2022-02-28