# yanzhenjie/AndPermission

:strawberry: Permissions manager for Android platform.

Repository: https://github.com/yanzhenjie/AndPermission
Canonical: https://ross.abutalabs.com/products/andpermission
Homepage: https://yanzhenjie.com/AndPermission
Language: Java
License: Apache-2.0
License Family: permissive
Topics: permission, android-permission, runtime-permission
Last push: 2024-01-04T06:43:43+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3643, "days_push": 972, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6624, forks 1100 (observed 2026-08-28T04:09:45.781234+00:00)

## What it is
AndPermission is an Android library that simplifies requesting runtime permissions and special permissions like installing unknown-source APKs, drawing over other apps, notifications, and system settings. It provides a fluent Java API with granted/denied callbacks and rationale dialogs, supporting Android 4.0+ with androidx.

## Use cases
- request runtime permissions on android
- ask user for storage permission with rationale dialog
- request install unknown apps permission for apk installation
- request overlay permission to draw over other apps
- handle permission denied callbacks in android app
- request notification access permission

## When to choose
- you need a simple fluent API for Android runtime and special permissions
- you want automatic rationale dialogs and settings-page navigation
- your app targets Android 4.0+ and uses androidx

## When to avoid
- you are not developing for Android
- you prefer Kotlin-first or Jetpack Accompanist permission APIs
- you need actively developed features beyond permission handling

## Facets
- artifact type: library
- maturity: maintenance
- function: auth, authorization, mobile-framework
- domain: mobile-development, android-tools, developer-tools
- platform: jvm
- tags: android-permissions, runtime-permissions, androidx, permission-manager, android, mobile

## Member repositories
- yanzhenjie/AndPermission (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:45.781234+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:43:16.073744+00:00, confidence not recorded.
  - readme: https://github.com/yanzhenjie/AndPermission (fetched 2026-08-28T04:09:45.781234+00:00, sha db177de9ece1)
  - homepage: https://yanzhenjie.com/AndPermission (fetched 2026-08-29T08:39:42.300002+00:00, sha 054af768f7f6)
  - site_page: https://www.yanzhenjie.com/AndPermission/install (fetched 2026-08-29T08:39:42.308979+00:00, sha c8084de7ed5a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
