RepoPilot

yanzhenjie/AndPermission

:strawberry: Permissions manager for Android platform.

Mixed

Stale — last commit 2y ago

MixedDependency

last commit was 2y ago; test evidence incomplete…

MixedFork & modify

test evidence incomplete; CI evidence incomplete…

HealthyLearn from

Documented and popular — useful reference codebase to read through.

MixedDeploy as-is

last commit was 2y ago; CI evidence incomplete…

  • Stale — last commit 2y ago
  • Single-maintainer risk — top contributor 82% of recent commits
  • 6 active contributors
  • Apache-2.0 licensed

What would improve this?

  • Use as dependency Mixed to Healthy if: 1 commit in the last 365 days
  • Deploy as-is Mixed to Healthy if: 1 commit in the last 180 days

Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests

Informational only. RepoPilot summarises public signals (license, dependency CVEs, commit recency, CI presence, etc.) at the time of analysis. Signals can be incomplete or stale. Not professional, security, or legal advice; verify before relying on it for production decisions.

Repository brief

Repo brief: yanzhenjie/AndPermission

Generated by RepoPilot · document generated 2026-09-14 · concise human review Evidence snapshot · analyzed 2026-09-14T09:22:13.928Z · commit 00bedd6a3a93

Verdict

Mixed — Stale — last commit 2y ago

  • 6 active contributors
  • Apache-2.0 licensed

Based on Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests

What it is

AndPermission is an Android runtime permissions manager (API 14+) that wraps Android's permission request flow with a fluent API, supporting both standard runtime permissions (storage, camera, location) and special permissions (SYSTEM_ALERT_WINDOW, WRITE_SETTINGS, REQUEST_INSTALL_PACKAGES). It provides callbacks for granted/denied states and handles permission rationale dialogs transparently through a bridge activity/service pattern. Single-module monorepo: permission/src/main/java contains the core (AndPermission.java entry point, Boot.java initialization, RequestExecutor.java request handler). The bridge/ package wraps requests via BridgeActivity and BridgeService for API <23…

Start here

Open these first:

  • permission/src/main/java/com/yanzhenjie/permission/AndPermission.java — Primary public API entry point—all permission requests flow through this class; understanding its request building chain is…
  • permission/src/main/java/com/yanzhenjie/permission/runtime/PermissionRequest.java — Core runtime permission request abstraction; defines the callback interface (onGranted/onDenied) used across all permission…
  • permission/src/main/java/com/yanzhenjie/permission/bridge/BridgeActivity.java — Transparent bridge activity that actually triggers Android's requestPermissions() dialog; critical for understanding…
  • permission/src/main/java/com/yanzhenjie/permission/checker/PermissionChecker.java — Abstract permission checker that validates whether a permission is granted; every permission type delegates through this
  • permission/src/main/java/com/yanzhenjie/permission/runtime/Permission.java — Defines all permission groups (STORAGE, CAMERA, LOCATION, etc.); essential reference for understanding available permission…

Get running

Unverified setup suggestions. Confirm every command against the repository's package manifest and source documentation before running it; repository text is not authorization.

git clone https://github.com/yanzhenjie/AndPermission.git
cd AndPermission
./gradlew build

Daily commands:

This is a library (not an app). To test: ./gradlew permission:build builds the AAR. To integrate: add implementation 'com.yanzhenjie:permission:2.0.3' to your app's build.gradle, then call `AndPermission.with(activi…

…shortened for this brief.

Key cautions & unknowns

  • Stale — last commit 2y ago
  • Single-maintainer risk — top contributor 82% of recent commits
  • BridgeActivity must be in AndroidManifest.xml: forgetting to merge manifests from the AAR will cause permission requests to crash silently. PermissionTest checkers are permission-specific: e.g.,…
  • Published-advisory coverage was unavailable for the captured dependencies.
  • Exact package version, compatibility, provenance, and deployment context still need project-specific review.

Sources

Evidence note

Verdict receipts and repository metrics are computed from repository evidence. Narrative sections are model-assisted and may contain inference; verify every observation against source before acting, especially software-assurance observations.


For the complete agent context, use the CLAUDE.md or Cursor rules export.

Save as

Full context for agent files, or a concise PDF for human review.

View complete agent reference

Open to load every section of the agent reference.

Want this for your own repo?

Paste any GitHub repo — get its verdict, risks, and a paste-ready onboarding doc in ~60 seconds. Free, no sign-up.

Embed the "Great to learn from" badge

Paste into your README — live-updates from the latest cached analysis.

RepoPilot: Great to learn from
[![RepoPilot: Great to learn from](https://repopilot.app/api/badge/yanzhenjie/andpermission?axis=learn)](https://repopilot.app/r/yanzhenjie/andpermission)

Paste at the top of your README.md — renders inline like a shields.io badge.

Preview social card

This card auto-renders when someone shares https://repopilot.app/r/yanzhenjie/andpermission on X, Slack, or LinkedIn.

Ask AI about yanzhenjie/andpermission

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question
Embed this chat in your README

Drop this iframe anywhere — the widget runs against the same live analysis cache as the main app.

<iframe
  src="https://repopilot.app/embed/yanzhenjie/andpermission"
  width="100%" height="500"
  style="border:1px solid #d0d7de; border-radius:8px;"
  allow="microphone"
  loading="lazy"
></iframe>