by yanzhenjie

yanzhenjie / AndPermission

:strawberry: Permissions manager for Android platform.

6.4K Stars 1.1K Forks Last release: Not found Apache License 2.0 236 Commits 28 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


  1. Request for runtime permissions.
  2. Share private files.
  3. Request to install unknown source apk.
  4. Request to draw at the top of other apps.
  5. Request to show notifications.
  6. Request to access notifications.
  7. Request to modify system setting.
  .onGranted(permissions -> {
    // Storage permission are allowed.
  .onDenied(permissions -> {
    // Storage permission are not allowed.

For documentation and additional information see the website.


It only supports androidx, add dependencies in your gradle:

implementation 'com.yanzhenjie:permission:2.0.3'

AndPermission requires at minimum Android 4.0(Api level 14) .


Before submitting pull requests, contributors must abide by the agreement .


Copyright 2019 Zhenjie Yan

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.