awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
yanzhenjie avatar

yanzhenjie/AndPermission

0
View on GitHub↗
6,628 stars·1,100 forks·Java·Apache-2.0·16 viewsyanzhenjie.com/AndPermission↗

AndPermission

AndPermission is a unified API manager for coordinating runtime permissions, secure file sharing, and high-privilege system access on Android. It provides a lifecycle-aware wrapper for handling dangerous permissions and user consent callbacks through a centralized permissions manager.

The project distinguishes itself by managing special permissions that require high-privilege access, such as notification monitoring, screen overlays, and the ability to install applications from unknown sources. It also includes a dedicated tool for secure file sharing that generates temporary read and write access tokens via content URIs to share private files with external applications.

The framework covers a broad range of system-level capabilities, including requesting access to modify device settings and managing runtime permission requests. These operations are supported by infrastructure for asynchronous callback flows, fragment-aware dispatching, and state caching to prevent redundant system queries.

Features

  • Android Permission Management - Provides a unified API for requesting and managing dangerous Android runtime permissions with lifecycle-aware callbacks.
  • Runtime Permission Management - Provides a lifecycle-aware manager for requesting and validating dangerous runtime permissions on Android.
  • Activity Result Management - Integrates with the AndroidX Activity Result API to link permission responses to the activity or fragment lifecycle.
  • Activity Result Managers - Manages permission responses using the AndroidX Activity Result API for lifecycle-aware handling.
  • Android Intent Integrations - Launches Android intents to request system-level permissions and monitors the resulting codes in the calling activity.
  • Permission Response Handlers - Provides a lifecycle-aware wrapper to execute application workflows based on user responses to permission requests.
  • System Intent Handlers - Utilizes Android system intents to trigger high-privilege permission requests, such as opening system settings.
  • System Overlay Permissions - Requests system-level permissions required to draw visual layers and render UI content on top of other applications.
  • Special System Permission Handling - Manages high-privilege special permissions such as overlay drawing, notification access, and unknown app installation.
  • Mobile Notification Permissions - Handles requests for high-level permissions to monitor notification events and display alerts on mobile devices.
  • Unknown App Installation Requests - Provides a unified API to request user permission for installing application packages from unknown sources.
  • Content URI Temporary Permissions - Generates content URIs with temporary read/write permissions to share internal files securely with external applications.
  • System Settings Navigators - Provides tools to guide users to Android system settings to grant permissions for modifying device settings.
  • Android Secure File Sharing - Grants temporary read and write access to internal files using content URIs for secure sharing with other applications.
  • Android Secure File Sharing Tools - Ships a utility for sharing private files by generating temporary content URIs with read and write permissions.
  • Content URI Access Control - Provides secure file sharing by generating temporary read and write access tokens via content URIs.
  • Permission Request Grouping - Groups related runtime permissions into a single request to minimize user interaction and streamline the grant flow.

Star history

Star history chart for yanzhenjie/andpermissionStar history chart for yanzhenjie/andpermission

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does yanzhenjie/andpermission do?

AndPermission is a unified API manager for coordinating runtime permissions, secure file sharing, and high-privilege system access on Android. It provides a lifecycle-aware wrapper for handling dangerous permissions and user consent callbacks through a centralized permissions manager.

What are the main features of yanzhenjie/andpermission?

The main features of yanzhenjie/andpermission are: Android Permission Management, Runtime Permission Management, Activity Result Management, Activity Result Managers, Android Intent Integrations, Permission Response Handlers, System Intent Handlers, System Overlay Permissions.

Which projects share features with yanzhenjie/andpermission?

Projects with overlapping indexed features include: hotchemi/permissionsdispatcher — PermissionsDispatcher is a declarative permission management library for Android. It provides a framework for handling… getactivity/xxpermissions — XXPermissions is a framework and manager for handling runtime and special system permissions across different Android… permissions-dispatcher/permissionsdispatcher — PermissionsDispatcher is a declarative Android API and runtime permission manager. It provides a structured system for… karumi/dexter — Dexter is a Java library and wrapper for managing runtime system permissions on Android. It simplifies the process of… getactivity/androidproject — AndroidProject is an application framework and development suite for Android that provides a collection of base… camerakit/camerakit-android — Camerakit-android is a library and API wrapper that provides a consistent interface for photo and video capture across…

Projects sharing features with AndPermission

These projects share indexed features with AndPermission. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • hotchemi/permissionsdispatcherhotchemi avatar

    hotchemi/PermissionsDispatcher

    11,177View on GitHub↗

    PermissionsDispatcher is a declarative permission management library for Android. It provides a framework for handling runtime and special permissions using an API that routes request results to specific handler methods. The library uses annotations to trigger designated methods for success, rationales, or denials. It coordinates both standard runtime permission flows and specialized permissions that require directing the user to system settings activities for manual approval. The system includes workflows for custom permission justifications and denial handling, including fallbacks for when

    Java
    View on GitHub↗11,177
  • getactivity/xxpermissionsgetActivity avatar

    getActivity/XXPermissions

    6,748View on GitHub↗

    XXPermissions is a framework and manager for handling runtime and special system permissions across different Android operating system versions. It provides a unified interface for requesting standard permissions and directing users to system settings pages for advanced access control, such as file access and accessibility services. The project features a backward compatibility layer that abstracts version-specific logic, removing the need for manual operating system version checks in client code. It utilizes a chainable request pipeline to queue multiple permissions and manage their asynchro

    Javaandpermissionandroidandroidpermissions
    View on GitHub↗6,748
  • permissions-dispatcher/permissionsdispatcherpermissions-dispatcher avatar

    permissions-dispatcher/PermissionsDispatcher

    11,177View on GitHub↗

    PermissionsDispatcher is a declarative Android API and runtime permission manager. It provides a structured system for requesting and verifying system permissions while separating authorization logic from general business code. The project focuses on managing the permission request workflow, which includes justifying requests with custom explanations and handling user responses to system prompts. It also functions as a system settings guide, directing users to the manual Android settings menu for special permissions that require approval outside of the application.

    Java
    View on GitHub↗11,177
  • karumi/dexterKarumi avatar

    Karumi/Dexter

    5,199View on GitHub↗

    Dexter is a Java library and wrapper for managing runtime system permissions on Android. It simplifies the process of requesting permissions from users by reducing the boilerplate code required in activities and fragments, providing a callback system to handle granted and denied states. The library includes a handler for displaying rationale explanations to users when dangerous permissions are denied or require further justification. It also provides automated response mechanisms, such as triggering user interface elements when a permission request is rejected. The project covers error detec

    Javaandroidandroid-librarypermissions
    View on GitHub↗5,199
  • Compare all 30 related projects→