safari brower notification not work when i had use apns

I want to switch from Apns to standard notificationApi browser notification, but when my website originally used Apns, I switched to standard API and called Notification for message notification. The notification didn't appear.

I confirmed that Notification.permission is granted.

I am not sure what it is you are referencing here. My best guess is you were using the legacy Safari Push Notifications, and now want to use W3C Push API.

Sending web push notifications in web apps and browsers explains how to update your web server and website to send push notifications that work in Safari, other browsers, and web apps, following cross-browser standards.


Argun Tekant /  DTS Engineer / Core Technologies

my site had accpet the notification permission when i used the legacy Safari Push Notifications; it will show notification when i push message;

but when i change to use W3C Push API, the notification not shown in my Mac, even if i trigger new Notification(...) directly in devtool.

so i try to use a new site which never used the legacy Safari Push Notifications, it will request notification permisson. i accpeted it, and the notification will work normally;

it feeling Apns cant upgrade to W3C Push API . if the site had register Apns;

safari brower notification not work when i had use apns
 
 
Q