-
Notifications
You must be signed in to change notification settings - Fork 401
Closed
Labels
Description
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.
ShayanGsh, rudi-zeeman, masahirosuzuka, chen1620, hm-minwook-park and 10 more