addtohome.com
← All posts

For site owners

Why your web app's notifications do nothing on iPhone until it's on the Home Screen

Published Nov 20, 2026

On iPhone, a web app can't ask for notifications from a Safari tab. The code to ask isn't there. We loaded one test page two ways on iOS 26.5, in Safari and from a Home Screen icon, and read what the page could see. In Safari, Notification and PushManager don't exist. From the Home Screen, both do.

Your visitor never learns this. They tap your Notify button in Safari, nothing appears, and they move on.

What we measured

The same page, served the same way, on the iOS 26.5 Simulator:

The page checksIn a Safari tabOpened from the Home Screen
'Notification' in windowfalsetrue
Notification.permissionnot there to read"default", ready to ask
'PushManager' in windowfalsetrue
typeof navigator.setAppBadge"undefined""function"
'serviceWorker' in navigatortruetrue
navigator.standalonefalsetrue
Height the page gets, of 844699797

Three things turn on only from the Home Screen: notifications, push, and the number badge on your icon. The page also gets 98 more points of height, because Safari's bars are gone.

A service worker is there in both, which is why this is easy to miss. Your worker registers, your code looks ready, and the one call that matters has nothing to call.

These are simulator results. We read whether each feature exists; we did not send a push.

Your visitors hit this too. addtohome.com shows each of them the exact taps for their phone and keeps up when browsers change. Try it on your site

Why the failure is silent

Most notification code looks like this:

if ("Notification" in window) {
  await Notification.requestPermission();
}

In Safari on iPhone the check is false, so the block is skipped. No prompt, no error, no message. The button did exactly what the code said, which was nothing.

Android is different. Chrome on Android can ask for notifications in a normal tab, so the same button works there. That makes the iPhone gap look like a bug in your app when it's a rule of the phone.

What to do instead

  1. Check where the visitor stands before you show the button. If they're on iPhone and not on the Home Screen, a Notify button is a dead end.
  2. Ask for the Home Screen first, and say why. "Get alerts when a table opens" beats "Install our app". People add what they have a reason to add.
  3. Show the taps. Add to Home Screen sits behind Share and View More, and the path changes with each iOS version and tab layout.
  4. Ask for notifications after they open it from the Home Screen, as a separate step. Never both at once.
The live guide picks your phone's steps. On a computer it plays a sample.

Or let one script do all four

addtohome.com tells your page where each visitor stands, shows your reason at the moment they tap the feature, and plays the exact taps for their phone:

const answer = await AddToHome.ask("alerts");
// "installed" or "not-needed": ask for notifications now
// "shown": your reason is up, then the guide

On Android, where a tab can already get alerts, it steps aside and your button works as it always did. On iPhone it shows your words, then the guide matched to a recording of that browser.