# Runtime Permissions & Privacy

> How Android and iOS permission models work, when and how to ask, handling denial, and privacy disclosures in the stores. Free notes, key concepts, resources...

Canonical: https://www.internhack.in/roadmaps/tracks/mobile/permissions
Last updated: 2026-11-28

How Android and iOS permission models work, when and how to ask, handling denial, and privacy disclosures in the stores.

Intermediate · about 4 hours · difficulty 2/5

Learn first: [Designing for Touch and Small Screens](https://www.internhack.in/roadmaps/tracks/mobile/mobile-ux-principles), [Navigation Patterns](https://www.internhack.in/roadmaps/tracks/mobile/navigation)

Sensitive capabilities such as camera, location, contacts, microphone and notifications require user permission at runtime. How you ask determines whether users say yes.

### Platform models

- **iOS**: you get one system prompt per permission. If denied, you can only send users to Settings. Each permission needs a usage description string explaining why.
- **Android**: dangerous permissions are declared in the manifest and requested at runtime. After repeated denials the system stops showing the dialog. Some permissions, like background location, need a separate step.
- Both offer granular choices: approximate vs precise location, limited photo library access, "allow once".

### Asking well

1. Ask **in context**, right when the user triggers the feature.
2. Optionally show a short **pre-prompt** screen explaining the benefit before the system dialog.
3. Handle every result: granted, denied, limited, and permanently denied (offer a button to open Settings).
4. Re-check status when the app returns to the foreground; users change settings.

### Privacy compliance

App Store privacy labels and Google Play's Data safety form must match what your app and SDKs collect. Request only what you need; unjustified permissions cause rejections.

**Good enough to move on:** a feature in your app handles granted, denied and permanently denied states gracefully.

## Key concepts

- **iOS permission model and usage strings**
- **Android runtime permissions**
- **Asking in context and pre-prompts**
- **Handling denial and Settings deep link**
- **Granular and one-time permissions**
- **Privacy labels and Data safety form**

## Mini project

Build a permission playground screen that requests camera, location and notifications in context and shows a correct UI for each possible status.

## Check yourself

A user permanently denied camera access. What can your app do, and what can it not do?

## Free resources

- [Expo: Permissions](https://docs.expo.dev/guides/permissions/) (Expo)
- [Android: Request runtime permissions](https://developer.android.com/training/permissions/requesting) (Android Developers)
- [HIG: Privacy](https://developer.apple.com/design/human-interface-guidelines/privacy) (Apple)

Previous: [Push & Local Notifications](https://www.internhack.in/roadmaps/tracks/mobile/push-notifications) · Next: [Camera, Photos & Media](https://www.internhack.in/roadmaps/tracks/mobile/camera-media)

## More in Device Capabilities & Background Work

- [Runtime Permissions & Privacy](https://www.internhack.in/roadmaps/tracks/mobile/permissions)
- [Camera, Photos & Media](https://www.internhack.in/roadmaps/tracks/mobile/camera-media)
- [Location & Maps](https://www.internhack.in/roadmaps/tracks/mobile/location-maps)
- [Sensors, Haptics & Biometrics](https://www.internhack.in/roadmaps/tracks/mobile/sensors-biometrics)
- [Background Tasks & App States](https://www.internhack.in/roadmaps/tracks/mobile/background-work)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Mobile App Developer Roadmap](https://www.internhack.in/roadmaps/tracks/mobile)
