AndPermission is an AndroidX library that centralizes permission-related workflows behind a fluent Java API. It requests ordinary runtime permissions and reports granted or denied results through callbacks. The library can also help applications share private files through platform-compatible mechanisms. Specialized flows cover installing packages from unknown sources, drawing over other apps, displaying notifications, and accessing notification listeners. It also supports directing users to grant permission to modify system settings. The package targets Android 4.0 and newer and is distributed as a Gradle dependency. Its focused API reduces the version checks and settings navigation that developers would otherwise implement manually.
Features
- Android runtime permission requests
- Granted and denied callbacks
- Secure private file sharing
- Unknown source installation access
- Overlay and notification permissions
- System settings modification access