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
Cut Data Warehouse Costs by 54% Icon
Cut Data Warehouse Costs by 54%

Easily migrate from Snowflake, Redshift, or Databricks with free tools.

BigQuery delivers 54% lower TCO with exabyte scale and flexible pricing. Free migration tools handle the SQL translation automatically.
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