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

You Might Also Like
Save hundreds of developer hours with components built for SaaS applications. Icon
Save hundreds of developer hours with components built for SaaS applications.

The #1 Embedded Analytics Solution for SaaS Teams.

Whether you want full self-service analytics or simpler multi-tenant security, Qrvey’s embeddable components and scalable data management remove the guess work.
Try Developer Playground
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