简体   繁体   中英

Push API endpoints from Push Services with complete overview

On Mozilla's PushSubscription.endpoint page, they have listed all browser compatibilities.

However, they do not state which Push Services are being used by each one of them. I figured, I might as well download each browser and test them all out by subscribing through PushManager.subscribe() .

Now, I'm just wondering which one is needed for Safari v16 and higher?

浏览器兼容性

You think also configure these endpoints as CORS endpoints which are allowed to send notifications to one of your App Services for example, which can be convenient.

Complete list of Push Services are down below:

Please let me know, in case you know which Push Service is being used for Safari v16 or higher. Thank you.

UPDATE: January 16, 2023 9:54 PM

According to the following GitHub repository List of all known push services , the following list can be used:

  • android.googleapis.com
  • fcm.googleapis.com
  • updates.push.services.mozilla.com
  • updates-autopush.stage.mozaws.net
  • updates-autopush.dev.mozaws.net
  • *.notify.windows.com
  • *.push.apple.com

Thanks to @collimarco .

You can see a list of all known push services here:

https://github.com/pushpad/known-push-services

The list of push service hosts is complete and covers all major browsers (Chrome, Firefox, Opera, Edge, Safari, etc.). We use that list for limiting outgoing connections to trusted hosts.

For example for Safari the host is *.push.apple.com .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM