Android Runtime Permissions
Guides Android runtime permission architecture, prioritizing permission-free alternatives, least privilege requests, and robust denial handling.
The Android Runtime Permissions skill enforces best practices for handling sensitive device access in Android applications. It guides developers and AI agents through evaluating permission-free alternatives like system pickers and intents before declaring permissions, implementing the principle of least privilege, distinguishing first-time requests from permanent denials, handling partial grants, and auditing merged manifests to prevent unwanted permission bloat and Play Store rejections.
主な機能
01Provides accurate state handling for permission rationales, first-time asks, and permanent denials
02Handles partial grant states for selective media access and coarse location seamlessly
030 GitHub stars
04Identifies permission-free alternatives such as Photo Picker and system intents to eliminate unnecessary declarations
05Enforces least-privilege permission models including coarse location and scoped media access
06Audits merged manifests to catch accidental permissions injected by third-party dependencies
ユースケース
01Migrating legacy camera or file access code to permission-free Android photo pickers and system contracts
02Architecting resilient permission request UI and rationale dialogs that avoid infinite re-prompt loops
03Auditing AndroidManifest.xml before Play Store submission to eliminate unrequested or dangerous declarations