GitHub 火线榜

GitHub 火线榜 · 仓库档案

yanzhenjie/AndPermission

:strawberry: Permissions manager for Android platform. (简介来自仓库自身文档。)

Java#android-permission#permission#runtime-permission

数据截至 10月29日yanzhenjie

最好成绩

#434

总榜 · Java 语言

6614

累计 Star

1100

Fork 总数

0

近 30 天在榜天数

许可证: Apache-2.0最近 push: 1月4日Open Issues(含 PR): 176自 2026-10-25 起采集;未知 = 尚未采集到

项目文档

AndPermission

  1. Request for runtime permissions.
  2. Share private files.
  3. Request to install unknown source apk.
    android.permission.REQUEST_INSTALL_PACKAGES
  4. Request to draw at the top of other apps.
    android.permission.SYSTEM_ALERT_WINDOW
  5. Request to show notifications.
  6. Request to access notifications.
    android.permission.BIND_NOTIFICATION_LISTENER_SERVICE
  7. Request to modify system setting.
    android.permission.WRITE_SETTINGS
AndPermission.with(this)
  .runtime()
  .permission(Permission.Group.STORAGE)
  .onGranted(permissions -> {
    // Storage permission are allowed.
  })
  .onDenied(permissions -> {
    // Storage permission are not allowed.
  })
  .start();

For documentation and additional information see the website.

Download

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) .

Contributing

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

License

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

   http://www.apache.org/licenses/LICENSE-2.0

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.

当前上榜

近 30 天势头

近 30 天没有上榜记录。

把上榜徽章放进你的 README · yanzhenjie/AndPermission[![把上榜徽章放进你的 README](https://git.vaiox.xyz/api/badge/yanzhenjie/AndPermission.svg)](https://git.vaiox.xyz/zh/repo/yanzhenjie/AndPermission)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/zh/repo/yanzhenjie/AndPermission"><img src="https://git.vaiox.xyz/api/badge/yanzhenjie/AndPermission.svg" alt="把上榜徽章放进你的 README" height="20"></a>

← 回到榜单

GitHub 火线榜往日榜发现联系我们 · Contact