Skip to Content
Platform.Ontology

Two denial rule

After two denials, Android stops showing the permission dialog.

Works without askingSystem controlMechanicsAndroid and iPhoneWhile you use it

In one line

Can ask for a permission only twice on Android, and once on iPhone

After two denials, Android stops showing the permission dialog.

Limits repeated prompts. iOS shows a permission prompt only once; later changes must be made in Settings.

What it can and can't do

What the user does: You tap Don't allow on a permission dialog

It can

  • Ask again after one denial on Android
  • Send you to Settings with a link to change it
  • Explain why it needs the permission before asking again

It cannot

  • Show the Android dialog after two denials
  • Show the iPhone prompt again after you answer
  • Change the permission for you; you do that in Settings

How it differs between platforms: Android shows the dialog at most twice; iPhone shows it once.

On Android and iPhone

AndroidiPhone
StatusSupportedSupported
First versionAndroid 11 (API 30)iOS 2.0
Permission or entitlementn/a (system behavior)n/a
Protection levelnoneprompt
How access is grantedpromptprompt
What the user seesDialog shows at most twice per permissionSystem prompt once per permission
How long it lastsRemains denied until user changes itUntil changed in Settings
How to take it backSettings > Apps > PermissionsSettings > app > permission
Store policyPlay: apps must handle denial gracefullyApp Review 5.1.1
APIshouldShowRequestPermissionRationale, flags USER_SET and USER_FIXEDUIApplication.openSettingsURLString
NotesUSER_SET after one denial; USER_FIXED after two.App can send the user to Settings via a deep link.

Data you get

What comes back: Denial count
Shape: none
How often: per permission

FieldTypeUnitRangePrecision
countintegerdenials0 to 2exact

Technical limits

  • Apps cannot reset the prompt

The story

What it is

After you say no twice, Android stops showing the permission prompt for that app.

For you

If you deny a permission twice, the app cannot ask again. You have to change it yourself in Settings. This stops an app from nagging you into saying yes.

For makers

Apps must explain why they need a permission before asking, since they only get two tries. Good apps show a simple screen first. Bad ones may send you to Settings with a plea.

Where you see it

TypeExampleApps
gamesA game asks for location, you say no twice, and it works without it or shows a settings link.None named
socialA social app asks for contacts and has to live without it after two denials.None named
mapsA maps app shows a screen explaining why location helps before the prompt.Google Maps
shoppingA store app asks for the camera and sends you to Settings if you refuse twice.None named
fitnessA fitness app asks for body sensors and explains its use.None named
securityA researcher tests how an app behaves when permissions are blocked.None named
developerA developer builds a pre prompt screen to win consent.None named

Risks

  • App may stop working
  • Hard to change your mind
  • Nag tricks

Android and iPhone in short

  • Android: Android marks a permission as user set after one denial, and fixed after two.
  • iPhone: iPhone shows a permission prompt only once. After that, changes must be made in Settings, and an app can link to Settings.

Good uses and abuse

Legitimate uses

  • User control

Known abuse

  • Dark pattern re-prompts

Scores

ScoreValueMeaning
Sensitivity2 of 5How revealing the data is
Utility2 of 5How useful it is to honest apps
Friction2 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2008-07, iPhone iOS 2: Single-shot permission prompts
  • 2020-09, Android 11 (API 30): Dialog suppressed after two denials
  • One-time permissions. Can use location, camera or mic only until you leave, if you pick one time access

Same idea on the web

  • Permissions API. Can check whether you allowed or blocked a feature, without asking you

Sources

How well checked: Based on official documentation.

On this page