Skip to main content

Push notifications do not arrive

WebSocket Version Guide
This functionality available only with WebSocket Version

A push notification reaches a member whose browser tab is in the background or closed. Three things have to be true: web push is on for the site, the browser of the member allowed it, and a push was due. Check them in this order.

1. Is web push turned on?#

Web push is off by default. Turn on Settings → Notifications → Push Notifications → Browser Push Notifications. The switch under it, Send Push Notifications, decides when one goes out: when the member is offline, or also when a message stays unread for a few seconds.

2. Did the browser of the member allow it?#

  • The browser asks for permission the first time the member enters a conversation, not on the first page they visit. A member who never opened a conversation in this browser has no subscription, and gets an email in its place.
  • A member who pressed Block gets no push. They can allow notifications again for the site from the icon beside the address of the page, then reload.
  • Each browser and each device subscribes on its own. Allowing it on a laptop does not turn it on for a phone.
  • The operating system can silence the browser: Focus or Do Not Disturb, or notifications turned off for the browser in the settings of the device.

3. Was a push due?#

Where the member isWhat happens
The tab is open and in frontA notification on the page and a sound, no push.
The tab is open in the backgroundA push.
The browser is closedA push, shown when the browser next runs.
The site was never opened in this browserNo push. An email, by the rules of email notifications.

A member also gets no push for a conversation they muted, or whose notification level leaves the message out.

To test, use two different members in two browsers, put the tab of the recipient in the background, and send a message.

iPhone and iPad#

Safari on iOS shows web push only for a site the member added to the Home Screen, on iOS 16.4 or later. In a normal Safari tab there is no push. See iOS web push. For members on phones, the mobile app is the reliable way to be notified, calls included.

The address of the page differs from the address of the site#

A browser subscribes to push for the exact address of the page. When the site is opened through another address than its own WordPress address, such as a preview link or a tunnel of a local development tool, the subscription fails. Test on the real address of the site, over HTTPS.

Push through another service#

When one of these sends the notifications, check its own settings and logs first: Better Messages hands the notification over and the service delivers it.

Push in the mobile app#

The app has its own push, apart from web push: Firebase on Android and the push key of Apple on iOS, both set up with the build of the app. A member with the app and web push gets both. See the Android and iOS guides, and Calls in the mobile app for calls that ring.

See also#