[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated legacy messaging methods are still available #2602

Open
enixsoft opened this issue Jun 18, 2024 · 0 comments
Open

Deprecated legacy messaging methods are still available #2602

enixsoft opened this issue Jun 18, 2024 · 0 comments

Comments

@enixsoft
Copy link
enixsoft commented Jun 18, 2024

Describe your environment

  • Operating System version: Ubuntu 22.04.4 LTS
  • Firebase SDK version: v12.1.1
  • Firebase Product: messaging
  • Node.js version: v20.12.2
  • NPM version: 10.5.0

Describe the problem

According to FAQ for FCM features deprecated in June 2023, the API endpoint https://fcm.googleapis.com/fcm/send is shutting down and:

Requests to the endpoint will start failing after 6/21/2024.

It has been replaced by HTTP v1 endpoint: https://fcm.googleapis.com/v1/projects/myproject-b5ae1/messages:send

However, in this latest v12.1.1 version of firebase-admin-node, there are 4 methods still using this legacy endpoint:

Only methods sendToDevice and sendToDeviceGroup are marked as deprecated, but methods sendToTopic and sendToCondition are not - despite all of them using the same endpoint. But won't all four of them stop working soon? So shouldn't they have been already removed in the latest version? It is a breaking change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants