Safari Push Notifications

Suggestions & ideas / Suggestions & idées
User avatar
SirSean
Posts: 3
Joined: 22 December 2012, 04:45

Safari Push Notifications

Post by SirSean »

Can Safari push notifications be supported?

Thanks!
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: Safari Push Notifications

Post by Een »

Please petition Apple to support the standard web push notifications.
https://www.change.org/p/tim-cook-apple ... os-devices
User avatar
voriki
Posts: 773
Joined: 28 August 2020, 12:27

Re: Safari Push Notifications

Post by voriki »

Haha, Apple, support and standard, did you really use those words in the same sentence?
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: Safari Push Notifications

Post by Een »

I think I had even managed to do it without being snide about it, until you commented and wrecked that :)
But I'm actually pretty serious, if Apple users don't start putting pressure on Apple to support web standards at some point, nothing will ever change in that regard. That petition is a good start, and it deserves much more than just about 7k signatures.
User avatar
JAWB25
Posts: 14
Joined: 19 January 2022, 18:23

Re: Safari Push Notifications

Post by JAWB25 »

I think push notifications are now supported in Safari on macOS. Is this enabled on BGA? I tried to turn them on but there was an error message on the page, in addition to not getting expected turn notifications. I still get notifications through Google Chrome. I'm most anticipating Apple adding push to Safari on iOS, which I believe is coming soon. It will make such a difference for me on BGA and mobile (e.g., iPad).
https://webkit.org/blog/12945/meet-web-push/
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: Safari Push Notifications

Post by Een »

JAWB25 wrote: 28 October 2022, 15:00 I think push notifications are now supported in Safari on macOS. Is this enabled on BGA? I tried to turn them on but there was an error message on the page, in addition to not getting expected turn notifications. I still get notifications through Google Chrome. I'm most anticipating Apple adding push to Safari on iOS, which I believe is coming soon. It will make such a difference for me on BGA and mobile (e.g., iPad).
https://webkit.org/blog/12945/meet-web-push/
Thanks for posting about this with this informative link. I'll quote the most interesting points:
As long as you’ve coded your web application to the standards you will be able to reach Safari 16 users on macOS Ventura.
If you exclude Safari through browser detection, now would be a great time to switch to feature detection, which lets you take advantage of new features as soon as they’re supported. Additionally, if you tightly manage push end points on your server, be sure to allow URLs from any subdomain of push.apple.com.
We do implement the standard, and we do use feature detection ; Safari is not excluded through browser detection. So theoretically, if you are using Safari 16 on macOS Ventura notifications should work. If they don't, you should get an error message indicating which feature is found as not being supported through feature detection. So what error message did you get?
User avatar
JAWB25
Posts: 14
Joined: 19 January 2022, 18:23

Re: Safari Push Notifications

Post by JAWB25 »

Here's the error message I get.
Screenshot 2022-10-29 at 3.57.13 PM.png
Screenshot 2022-10-29 at 3.57.13 PM.png (19.51 KiB) Viewed 801 times
I also checked both macOS notification preferences/settings and the browser settings and BGA is showing as "on."
Screenshot 2022-10-29 at 4.23.51 PM.png
Screenshot 2022-10-29 at 4.23.51 PM.png (48.67 KiB) Viewed 801 times
Screenshot 2022-10-29 at 4.24.21 PM.png
Screenshot 2022-10-29 at 4.24.21 PM.png (49.31 KiB) Viewed 801 times
I hope that helps. :-)
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: Safari Push Notifications

Post by Een »

JAWB25 wrote: 30 October 2022, 00:26 I hope that helps. :-)
It does. It look like the error is not about the browser but just registering its version number when saving the subscription.
I tried patching this with today's release, can you try again in a few hours?
User avatar
JAWB25
Posts: 14
Joined: 19 January 2022, 18:23

Re: Safari Push Notifications

Post by JAWB25 »

Hi!!
Screenshot 2022-10-31 at 6.55.33 AM.png
Screenshot 2022-10-31 at 6.55.33 AM.png (19.25 KiB) Viewed 762 times
It worked!! TY for addressing this! :-)

It's not the biggest deal for desktop (because we can always use a different browser), but I really look forward to getting the Safari push notifications on iOS once Apple updates to add that feature now that it works on macOS in Safari. I think the iPad could be the best board game device ever with continued BGA support!

TY again!!
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: Safari Push Notifications

Post by Een »

JAWB25 wrote: 31 October 2022, 14:59 Hi!!
Screenshot 2022-10-31 at 6.55.33 AM.png
It worked!! TY for addressing this! :-)

It's not the biggest deal for desktop (because we can always use a different browser), but I really look forward to getting the Safari push notifications on iOS once Apple updates to add that feature now that it works on macOS in Safari. I think the iPad could be the best board game device ever with continued BGA support!

TY again!!
Indeed that's great to know! Thanks for testing and confirming this, and your input in the first place :)
Post Reply

Return to “Suggestions”