web-push-libs / web-push

Web Push library for Node.js
Other
3.28k stars 304 forks source link

FCM legacy api shutdown #893

Closed ok-sm closed 9 months ago

ok-sm commented 9 months ago

Setup

Please provide the following details, the more info you can provide the better.

Not applicable.

Operating System: Not applicable. Node Version: Not applicable. web-push Version: Not applicable.

Please select any browsers that you are experiencing problems with:

Please list the browsers you are have tested this, including the version of the browser (i.e. Chrome Beta, Firefox Beta etc).

All chrome versions.

Problem

FCM legacy api shutdown.

Expected

I would like to know how will your API work when Google shuts down their's legacy API on June 20, 2024. We have a lot of tokens generated by this API and after trying to migrate to FCM v1 API they doesn't seem to work. FCM v1 API returns UNREGISTERED when sending requests. We imported VAPID key pair used to generate those tokens.

Features Used

Example / Reproduce Case

Please provide a code sample that reproduces the issue. If there is a repository that reproduces the issue please put the link here.

Other

marco-c commented 9 months ago

The library is only implementing the web-push standard, there's nothing we can do on our end. Google might come up with a way to keep the old subscriptions working, but this is a question for them. You could ask their support.