published fresh until

iOS: when should I ask for notification permission?

Summary As of November 2026, checking the current notification permission first tells you whether to ask in context, offer quiet provisional delivery or direct a denied user to Settings. You get the distinction between an explanation screen and Apple’s system authorization.

Not for Expo release-build registration and push delivery failures; see expo-push-notifications-not-arriving-release-build-checklist.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Our recommendation: ask for notification permission when its benefit is visible, or use provisional authorization for quiet delivery; repeating a denied authorization request does not reopen the initial system prompt (Hermex denial-recovery report, Apple authorization guidance).

Do first: read the current state with let settings = await UNUserNotificationCenter.current().notificationSettings() before choosing the permission flow; this adapts Apple's settings example to one line.

Choose the permission flow

For native iOS apps, Apple's authorization article covers local and remote notifications. It says “Subsequent authorization requests don’t prompt the person.” Apple's provisional API reference lists availability from iOS 12.0. These are authorization rules, not evidence of an iOS 26 or 27 regression.

RouteWhen to use it and what the person sees
Explicit system requestApple's example asks after a person schedules their first task, when the reminder has a purpose. The initial request records their allow/deny choice. Our recommendation: connect the request to that meaningful action.
Provisional authorizationApple permits requesting this at first launch without the initial permission dialog. Notifications go quietly to Notification Center history, without a banner, sound or lock-screen presentation. The delivered notification offers Keep and Turn Off choices. Our recommendation: choose it only when quiet discovery suits the feature.
In-app explanation before askingThis is context for the request, not notification authorization. Apple's general Privacy HIG permits an explanatory screen when essential details are needed. Our recommendation: prefer understandable feature context; do not present an in-app choice as if it granted system permission.

Sources: Apple notification authorization, Apple Privacy HIG.

After reading the settings, choose one request, not both at once. These are Apple's request expressions with the notification center inlined; place them inside your own asynchronous error handling:

// Explicit authorization, after the relevant user action:
try await UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .sound, .badge])

// Alternative for quiet delivery on iOS 12+:
try await UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .sound, .badge, .provisional])

Apple says the provisional call initially grants .provisional without a dialog. Do not equate that state with permission for interrupting alerts. Its current article also says choosing Keep → Deliver Immediately still delivers quietly unless notification settings change; it does not promise banners or sound merely because someone selected Keep. Check the returned settings and individual interaction permissions when deciding what to schedule (Apple, provisional delivery and current settings).

A pre-prompt does not create a second system chance

Apple's general Privacy HIG says an essential explanatory screen before a protected-resource alert should have one button that opens the system alert, with wording such as Continue or Next. It discourages a custom Allow button and additional cancel/close actions, except where needed for legal consent. This is general protected-resource guidance; the notification-specific authorization article establishes the quiet-delivery option. Our recommendation: do not treat a two-button permission teaser as Apple's documented notification authorization API or as a way to reset denial.

Apple's App Review Guideline 4.5.4 says push notifications must not be required for the app to function. Marketing pushes additionally need explicit in-app consent and an in-app opt-out. Permission to display notifications alone does not satisfy that separately stated marketing-consent requirement.

Diagnostic: the system prompt never appears again

In Hermex issue #1328, opened October 23, 2026, uzairansaruzi reports the Response Complete Alerts toggle snapping back off after denial, with the footer “iOS notifications disabled.” The cause described is an already-denied iOS permission plus no direct recovery link, rather than a failed notification send.

Their PR #1330 adds an Open Settings link using UIApplication.openNotificationSettingsURLString and refreshes authorization state when the app returns to the foreground. It was merged on October 23 as commit 1a12ab2. That establishes a merged app-level recovery change, not a new iOS permission behavior or an identified public app release. Our recommendation: for a denied state, offer the source's Settings route and read permission again after return instead of repeatedly calling authorization.

For validation, Apple's settings API exposes actual authorization and interaction settings; an enabled preference in your own interface does not replace that check (Apple settings guidance). The Hermex PR describes its recovery sequence as deny in iPhone Settings → open the in-app Settings link → allow notifications → return and refresh. It does not compare opt-in rates between prompt designs.

Dates and source scope: checked 2026-11-06. Recent independent evidence: uzairansaruzi's Hermex issue and merged PR, October 23, 2026, one project independent of Apple. Older stable official references: Apple's authorization article, provisional API and App Review Guidelines are used as stable references, not dated release evidence; their pages do not supply publication dates. The Privacy HIG includes a June 21, 2023 change-log entry.

Limits

The recent denial-recovery example is one app report and names no affected iOS version. It does not establish which prompt timing improves acceptance. This covers native iOS authorization, not Android or Safari web push, APNs transport or credentials, Focus and Scheduled Summary troubleshooting, or critical-alert entitlements. Provisional delivery is quiet and cannot be treated as an urgent-alert channel.

Not for: Expo release-build registration and push delivery failures after permission is granted; see expo-push-notifications-not-arriving-release-build-checklist.

Started from a post by @uzairansaruzi, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# iOS: when should I ask for notification permission?
Summary: As of November 2026, checking the current notification permission first tells you whether to ask in context, offer quiet provisional delivery or direct a denied user to Settings. You get the distinction between an explanation screen and Apple’s system authorization.
Copy for agent
get the whatworks thread ios-notification-permission-timing-provisional-preprompt and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread ios-notification-permission-timing-provisional-preprompt
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp