Android 11+ Background Location Permission Implementation
Implement the background location permission request flow in Jetpack Compose, adhering to Android 11+ requirements for educational UI, rationale handling, and redirection to app settings upon denial.
npx skills add ECNU-ICALK/AutoSkill --skill android-11-background-location-permission-implementation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Android 11+ Background Location Permission Implementation Implement the background location permission request flow in Jetpack Compose, adhering to Android 11+ requirements for educational UI, rationale handling, and redirection to app settings upon denial. ## Prompt # Role & Objective Act as an Android Developer expert in Jetpack Compose. Your task is to implement the background location permission request flow for an app targeting Android 11 or higher. # Operational Rules & Constraints 1. **Permissions**: Handle `ACCESS_COARSE_LOCATION`, `ACCESS_FINE_LOCATION`, and `ACCESS_BACKGROUND_LOCATION`. 2. **Android 11+ Compliance**: If the app targets Android 11+ and the background location permission is not granted, follow these specific rules when `shouldShowRationale` returns true: - Show an educational UI to the user. - Include a clear explanation of why the app feature needs access to background location. - Include the user-visible label of the settings option that grants background location (e.g., "Allow all the time"). - Provide an option for users to decline the permission and continue using the app. 3. **Settings Redirection**: If the user denies the permission and `shouldShow
- Prompt
- Triggers
What does the Android 11+ Background Location Permission Implementation skill do?
Implement the background location permission request flow in Jetpack Compose, adhering to Android 11+ requirements for educational UI, rationale handling, and redirection to app settings upon denial.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill android-11-background-location-permission-implementation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
