Closed link2xt closed 6 months ago
Currently does not work because I tried to use API key from google-services.json
as bearer token. This API key seems to be deprecated and only used in legacy API which is going to be removed in June 2024 according to https://firebase.google.com/docs/cloud-messaging/auth-server
https://firebase.google.com/docs/cloud-messaging/auth-server documents that new authentication happens via OAuth 2.0 and suggests using node.js, Python or Java SDK for this.
We need to use OAuth 2 without SDK, protocol is described here: https://developers.google.com/identity/protocols/oauth2/service-account
Closes #31