{"id":13429344,"url":"https://github.com/yanzhenjie/AndPermission","last_synced_at":"2025-03-16T03:31:19.024Z","repository":{"id":38351609,"uuid":"67911698","full_name":"yanzhenjie/AndPermission","owner":"yanzhenjie","description":":strawberry: Permissions manager for Android platform.","archived":false,"fork":false,"pushed_at":"2024-01-04T06:43:43.000Z","size":1665,"stargazers_count":6632,"open_issues_count":176,"forks_count":1102,"subscribers_count":149,"default_branch":"master","last_synced_at":"2025-03-12T07:06:36.489Z","etag":null,"topics":["android-permission","permission","runtime-permission"],"latest_commit_sha":null,"homepage":"https://yanzhenjie.com/AndPermission","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yanzhenjie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-09-11T05:17:34.000Z","updated_at":"2025-03-11T00:22:14.000Z","dependencies_parsed_at":"2024-04-17T21:42:28.327Z","dependency_job_id":"c55b0307-eca4-472f-8e30-6365f7dfd79d","html_url":"https://github.com/yanzhenjie/AndPermission","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanzhenjie%2FAndPermission","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanzhenjie%2FAndPermission/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanzhenjie%2FAndPermission/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanzhenjie%2FAndPermission/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanzhenjie","download_url":"https://codeload.github.com/yanzhenjie/AndPermission/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243822312,"owners_count":20353496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android-permission","permission","runtime-permission"],"created_at":"2024-07-31T02:00:35.533Z","updated_at":"2025-03-16T03:31:18.721Z","avatar_url":"https://github.com/yanzhenjie.png","language":"Java","funding_links":[],"categories":["Tools","Authorization","Authorization Development"],"sub_categories":["\u003ca name=\"authZ-android\"\u003e\u003c/a\u003eAndroid"],"readme":"﻿# AndPermission\n1. Request for runtime permissions.  \n2. Share private files.  \n3. Request to install unknown source apk.  \n  `android.permission.REQUEST_INSTALL_PACKAGES`\n4. Request to draw at the top of other apps.  \n  `android.permission.SYSTEM_ALERT_WINDOW`\n5. Request to show notifications.  \n6. Request to access notifications.  \n  `android.permission.BIND_NOTIFICATION_LISTENER_SERVICE`\n7. Request to modify system setting.  \n  `android.permission.WRITE_SETTINGS`\n\n```java\nAndPermission.with(this)\n  .runtime()\n  .permission(Permission.Group.STORAGE)\n  .onGranted(permissions -\u003e {\n    // Storage permission are allowed.\n  })\n  .onDenied(permissions -\u003e {\n    // Storage permission are not allowed.\n  })\n  .start();\n```\n\nFor documentation and additional information see [the website](https://yanzhenjie.com/AndPermission).\n\n## Download\nIt only supports androidx, add dependencies in your gradle:\n\n```groovy\nimplementation 'com.yanzhenjie:permission:2.0.3'\n```\n\nAndPermission requires at minimum Android 4.0(Api level 14) .\n\n## Contributing\nBefore submitting pull requests, contributors must abide by the [agreement](CONTRIBUTING.md) .\n\n## License\n```text\nCopyright 2019 Zhenjie Yan\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanzhenjie%2FAndPermission","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanzhenjie%2FAndPermission","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanzhenjie%2FAndPermission/lists"}