# iOS 16 web push notifications בשנת 2023

**URL:** https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240
**Category:** General
**Tags:** push-notifications, ios
**Created:** [6 ביוני,‏ 2022,‏ 7:07pm UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240 "2022-06-06T19:07:04Z")
**Posts on this page:** 20
**Page:** 4

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [24 במרץ,‏ 2023,‏ 1:04pm UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/63 "2023-03-24T13:04:17Z")

</div>

> [@Stephen](#):
>
> Enabling notifications within the PWA immediately generated the “Success! Notifications have been enabled” notification.

And that’s all I received. The rest have come from the Hub.

---

<div class="post-metadata">

### Author: ![dfabulich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dfabulich/32/108716_2.png) [@dfabulich](https://meta.discourse.org/u/dfabulich)
#### Post date: [27 במרץ,‏ 2023,‏ 10:28pm UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/64 "2023-03-27T22:28:00Z")

</div>

> **[WebKit Features in Safari 16.4](https://webkit.org/blog/13966/webkit-features-in-safari-16-4/)**
>
> Today, we’re thrilled to tell you about the many additions to WebKit that are included in Safari 16.4.

16.4 is out now. I was able to subscribe to push notifications here on Meta and on another Discourse-hosted forum, but only because I know how to A2HS.

---

<div class="post-metadata">

### Author: ![jimkleiber](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimkleiber/32/121814_2.png) [@jimkleiber](https://meta.discourse.org/u/jimkleiber)
#### Post date: [28 במרץ,‏ 2023,‏ 2:04am UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/65 "2023-03-28T02:04:17Z")

</div>

I’ve been waiting a long time for this :crossed_fingers:

Just updated iOS to 16.4, re-added my forum to home screen, enabled notifications (and Discourse said congratulations they’re enabled), made sure all my iOS Focuses were turned off, sent myself a message from a second user account, and I’m still not seeing the push notification.

I’m pretty sure my Discourse forum was updated no longer than maybe a week ago but I’ll try to rebuild it and test it there.

Otherwise, any idea why I might not be seeing the badge on the app icon or a notification in the notification center?

---

<div class="post-metadata">

### Author: ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)
#### Post date: [28 במרץ,‏ 2023,‏ 8:41am UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/66 "2023-03-28T08:41:03Z")

</div>

> [@jimkleiber](#):
>
> I’ve been waiting a long time for this :crossed_fingers:

Not just you!

Works great out of the box.

> [@jimkleiber](#):
>
> and I’m still not seeing the push notification.

You only get notified if you’re offline/away from the site for (I believe) 5 minutes for PM or 10 minutes by default. So make sure you fulfill this criteria as well.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [28 במרץ,‏ 2023,‏ 10:46am UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/67 "2023-03-28T10:46:48Z")

</div>

> [@MarcP](#):
>
> You only get notified if you’re offline/away from the site for (I believe) 5 minutes for PM or 10 minutes by default

Is that consistent with Hub behaviour?

---

<div class="post-metadata">

### Author: ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)
#### Post date: [28 במרץ,‏ 2023,‏ 10:49am UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/68 "2023-03-28T10:49:06Z")

</div>

It definitely feels like, both are just a PWA so it should be the same right?

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [28 במרץ,‏ 2023,‏ 11:53am UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/69 "2023-03-28T11:53:49Z")

</div>

Hub isn’t a PWA, but yes I think the same logic applies.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [28 במרץ,‏ 2023,‏ 1:20pm UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/70 "2023-03-28T13:20:58Z")

</div>

Hub is a React Native based app that uses a Web View to expose each Discourse instance.

---

<div class="post-metadata">

### Author: ![jimkleiber](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimkleiber/32/121814_2.png) [@jimkleiber](https://meta.discourse.org/u/jimkleiber)
#### Post date: [28 במרץ,‏ 2023,‏ 1:57pm UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/71 "2023-03-28T13:57:47Z")

</div>

Ahh ok, is there any way to change this?

I can see why it wouldn’t send email notifications unless I’ve been away but for some reason, that doesn’t make as much sense to me for push notifications, especially with regards to chat, which is more immediate.

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [28 במרץ,‏ 2023,‏ 2:16pm UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/72 "2023-03-28T14:16:19Z")

</div>

> [@jimkleiber](#):
>
> is there any way to change this?

See [Push notification time window mins can be double that time](https://meta.discourse.org/t/push-notification-time-window-mins-can-be-double-that-time/259688/1) on how to change this, and how it can take longer in reality.

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [28 במרץ,‏ 2023,‏ 11:43pm UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/73 "2023-03-28T23:43:56Z")

</div>

I’m running iOS 16.4, and I added Meta to my Home Screen. Notifications are allowed in the app settings on iOS (set to “immediate” delivery). I granted notifications in the app itself and got the immediate confirmation notification.

I’m not getting any notifications after a couple of hours of not being on the forum and getting email notifications.

In other words, I’m seeing the same as @merefield.

---

<div class="post-metadata">

### Author: ![dfabulich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dfabulich/32/108716_2.png) [@dfabulich](https://meta.discourse.org/u/dfabulich)
#### Post date: [29 במרץ,‏ 2023,‏ 12:26am UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/74 "2023-03-29T00:26:11Z")

</div>

@RGJ’s link links to a recent bug fix. The fix just went in today, and probably isn’t deployed yet.

[https://github.com/discourse/discourse/pull/20864](https://github.com/discourse/discourse/pull/20864)

Even when that fix goes live, there’s still a 10-minute push notification window, during which pushes don’t get set if you’ve visited the site in the last ten minutes; that’s a site-wide setting.

I’ve filed a feature request that this should be configurable.

> [@Let users configure their own push notification time window](https://meta.discourse.org/t/let-users-configure-their-own-push-notification-time-window/259778):
>
> push\_notification\_time\_window is a site-wide setting; it’s 10 minutes by default. Wait (n) minutes before sending push notification. Helps prevent push notifications from being sent to an active online user. I think this should be a user preference, instead of a site-wide setting. Some users might prefer 0-minute window or 1-minute window (especially when they’re testing push notifications); others might prefer a 10 minute window, or an even longer window.

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [29 במרץ,‏ 2023,‏ 10:38am UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/75 "2023-03-29T10:38:59Z")

</div>

I waited overnight, and I still didn’t get any notifications. It seems like something else is going on, right?

---

<div class="post-metadata">

### Author: ![dfabulich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dfabulich/32/108716_2.png) [@dfabulich](https://meta.discourse.org/u/dfabulich)
#### Post date: [29 במרץ,‏ 2023,‏ 6:59pm UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/76 "2023-03-29T18:59:58Z")

</div>

It seems like what you’d need here are some more testing/debugging resources from Discourse.

For example, the only way to receive a test notification is to unsubscribe/subscribe from notifications, but if that works, and you’re still suspicious that other notifications aren’t going through, what can you do?

The obvious thing to do is to have another account DM you. But if you’re not careful, the DM might arrive during the push notification delay window, and, if it does, you’d have no way of knowing whether it did. (If you could at least configure/disable the push notification time window, you could turn it off (set it to 0) and test notifications that way.)

Is it possible for even an admin to check a log to find out why a particular notification didn’t go out?

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [31 במרץ,‏ 2023,‏ 4:25pm UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/77 "2023-03-31T16:25:29Z")

</div>

I can’t find anything about notifications as an admin. Only about emails going out.

Also, this still isn’t working for me at all, even here on meta. Anybody else having better luck?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [31 במרץ,‏ 2023,‏ 4:36pm UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/78 "2023-03-31T16:36:51Z")

</div>

> [@jtbayly](#):
>
> I can’t find anything about notifications as an admin. Only about emails going out.

There is no UI for it at the moment.

> [@jtbayly](#):
>
> Also, this still isn’t working for me at all, even here on meta. Anybody else having better luck?

I’ve been using Web Push notifications daily here on Meta since 2016 as my primary way to reply to stuff, so I can assure we are handling it on the Discourse side.

Were you notified of _this_ reply?

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [4 באפריל,‏ 2023,‏ 6:27pm UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/79 "2023-04-04T18:27:27Z")

</div>

It seems like as of recently it’s not coming through at all?

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [8 באפריל,‏ 2023,‏ 12:48pm UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/80 "2023-04-08T12:48:56Z")

</div>

How do push notifications relate to email notifications?

I’ve gotten a couple of notifications here.

But just this morning I tested with a friend sending me a PM here on Meta. I got the email right away, but no push notification at all.

Is email preventing push? Are they both sent at the same time? Are the delays set the same?

Edit: I did eventually get the notifications, about 5 minutes after I got the email.

Edit2: I tested chatting here, too, and I got a notification 8 minutes after somebody sent me the chat message. It seems like chat should be the place where immediate is the most desirable.

---

<div class="post-metadata">

### Author: ![WorldIsMine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/worldismine/32/455660_2.png) [@WorldIsMine](https://meta.discourse.org/u/WorldIsMine)
#### Post date: [27 בדצמבר,‏ 2023,‏ 7:22pm UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/81 "2023-12-27T19:22:45Z")

</div>

> [@darkpixlz](#):
>
> It seems like as of recently it’s not coming through at all?

Same here. I have to manually disable/enable notifications for them to work. BUT, they only work for a few hours. Virtually all of my members who use the HomeScreen iOS feature experience the same.

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [27 בדצמבר,‏ 2023,‏ 7:52pm UTC](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240/82 "2023-12-27T19:52:18Z")

</div>

Yeah, I gave up months ago.

Maybe iOS 18 web push notifications in 2024 will do it.

[Previous page](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240.md?page=3)

[Next page](https://meta.discourse.org/t/ios-16-web-push-notifications-in-2023/229240.md?page=5)
