/HandlePermission

Primary LanguageJavaApache License 2.0Apache-2.0

HandlePermission

HandlePermission is an Android library that makes requesting permissions at runtime much easier.

Android Marshmallow added a new functionality to let users grant permissions when running an app instead of granting them all when installing it. This approach gives the user more control but requires developers to add lots of boilerplate code to support it.

Overview

  • Handles showing Rationale & Permission denied dialogs
  • Consistent API across android versions
  • API for activity and fragment

Add it to your project

Include the library in your build.gradle

compile 'com.aniruddhakulkarni:handle-permission:0.0.1'