◉RORK LABJP
●SUBDOMAIN — Rork can now connect your web app to a subdomain only, leaving your root domain and www untouched (12/1)●UPDATES — expo-updates 58.0.23 fixes Android release builds embedding a stale runtime version●FLASH END — Intro pricing for Gemini Flash models ends 12/31, 29 days from now. Time to recheck AI feature costs●HMR — Some report the dev server picking up another server's bundle and then exiting●FIRST VIEW — Map the first screen for a normal launch, a notification, and a link, and back navigation stops surprising you●CARBON — Gemini 4 Carbon and Argon are now at standard rates: $4.00 input, $20.00 output per 1M tokens●SUBDOMAIN — Rork can now connect your web app to a subdomain only, leaving your root domain and www untouched (12/1)●UPDATES — expo-updates 58.0.23 fixes Android release builds embedding a stale runtime version●FLASH END — Intro pricing for Gemini Flash models ends 12/31, 29 days from now. Time to recheck AI feature costs●HMR — Some report the dev server picking up another server's bundle and then exiting●FIRST VIEW — Map the first screen for a normal launch, a notification, and a link, and back navigation stops surprising you●CARBON — Gemini 4 Carbon and Argon are now at standard rates: $4.00 input, $20.00 output per 1M tokens
Articles/Dev Tools
⬡ Dev Tools/2026-07-17Advanced

Shipping Notifications Without Asking First — Provisional Authorization in Rork Apps, and the Expo Snippet That Quietly Undoes It

iOS lets you start delivering notifications with no permission dialog at all, via provisional authorization. The catch: expo-notifications reports granted as false for provisional devices, so the registration snippet in Expo's own docs re-requests permission and fires the very dialog you were avoiding. Here's why granted lies, a hook that models authorization as five states, how to write notifications for quiet delivery, when to ask for the upgrade, and how to keep provisional out of your CTR.

Rork622Expo240expo-notifications7Push Notifications9Retention13

✦ Premium Article

The opt-in rate on my wallpaper app's new drop notifications came in lower than I expected. The soft-ask screen was there. I was waiting for a moment when the value was obvious before asking. Structurally it was fine. And yet I was still asking people to commit to notifications they had never seen.

Which is when I remembered provisional authorization. It has been in iOS since 12, and it lets you start delivering notifications with no permission dialog whatsoever. Users see an actual notification first, then decide whether to keep it. Instead of getting cleverer about how you ask, you flip the order of the conversation. That felt more honest to me.

Then I started implementing, and the first thing I hit was that the registration code in Expo's own documentation is a trap.

The code and API names below are checked against the SDK 58 reference for expo-notifications (docs.expo.dev, v58.0.0) and Apple's Asking permission to use notifications, as of November 2026. Behavior around authorization has shifted between iOS releases before, so I'd still run it once on whatever OS you target.

The third option nobody reaches for

Push opt-in has had two plays. Fire the OS dialog on launch, or slide a soft-ask screen in front of it first. The second is clearly better, but both ask users to imagine the value of a notification that hasn't arrived yet.

Provisional authorization starts somewhere else. Add .provisional to UNAuthorizationOptions and the system shows no dialog. Notifications go out quietly and appear only in Notification Center, where they carry Keep and Turn Off buttons. The user decides with the real thing in front of them.

Apple's reasoning is clean: it is not actually possible for someone to make an informed choice about your notifications until they have seen what you send.

From Expo you request it with allowProvisional.

import * as Notifications from 'expo-notifications';
 
const settings = await Notifications.requestPermissionsAsync({
  ios: {
    allowAlert: true,
    allowSound: true,
    allowBadge: true,
    allowProvisional: true,
  },
});

No dialog. It resolves without user interaction and you can start sending. So far, so documented.

What provisional grants, and what it quietly withholds

Leave this fuzzy and you will eventually be staring at notifications that deliver successfully and that nobody sees, with no idea why. Requesting an option is not the same as receiving it.

Surface Provisional Full (AUTHORIZED)
Notification Center Yes Yes
Banner No Yes
Lock screen No Yes
Sound No Yes
App icon badge No — not granted even if requested Yes
Permission dialog Never shown Shown
timeSensitive breakthrough No Yes

The badge row deserves your attention. The snippet above requests allowBadge: true, and on a provisional device the badge is still not granted. Open the notification settings on a real device and you'll see Notification Center delivery allowed while the badge toggle sits off. The request went through; the permission did not.

So if your unread count lives on the badge, that path is dead on arrival for your entire provisional cohort. setBadgeCountAsync throws nothing. It simply does nothing. I lost half a day to that. Bugs that don't raise are worse than bugs that do.

timeSensitive doesn't apply either. If you need to break through, that capability lives outside provisional.

✦

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
✦Why expo-notifications returns granted: false under provisional authorization, how Expo's own registration snippet turns that into a surprise permission dialog that drops deliverable devices, and the drop-in fix
✦A concrete map of what provisional actually grants versus what it silently withholds — badges are never granted even when you request them, and timeSensitive interruption does not apply
✦Working implementation: a five-state authorization hook, notification copy rewritten for Notification Center-only delivery, upgrade timing rules, and cohort separation so provisional doesn't wreck your CTR
Secure payment via Stripe · Cancel anytime
✦

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Rork Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

Related Articles

⬡ Dev Tools2026-11-19
New Wallpapers Showed Up Everywhere Except the Filters: Ship the Count and the Category Lists Together
I added 67 wallpapers in one batch. They appeared in the full list and in New, but not under a single category filter, because I had raised the ID limit and forgotten to ship the category lists. Here is a pre-bump check, a client-side way to spot silent fallbacks in an Expo app, and a post-release count against the origin.
⬡ Dev Tools2026-10-30
It runs in development but the iOS Release build dies on launch — checking whether a missing scheme is the cause
In an expo-router app, an app.json with no scheme can crash only the iOS Release build at launch. A triage table for Release-only crashes, how to read the reason from the log, why Debug and Android survive, the two fixes and why one needs a native rebuild, and a pre-submission check.
⬡ Dev Tools2026-10-27
Claude Sonnet 4.5 Leaves the API on November 30. Find the Model IDs Hard-Coded in Your App First
Claude Sonnet 4.5 leaves the API on November 30, 2026, and the date-less alias claude-sonnet-4-5 goes with it. A revised audit script for the model IDs left in your app, server functions, and config, a triage table for what breaks the next morning, and a comparison of where the model name should live.