fcm-node icon indicating copy to clipboard operation
fcm-node copied to clipboard

Update Legacy HTTP Protocol to HTTP v1 API

Open GUDDU434 opened this issue 1 year ago • 2 comments

The Firebase Cloud Messaging (FCM) API you're using is outdated or deprecated. Google has transitioned from using the Legacy HTTP Protocol to HTTP v1 API for sending FCM messages, and the API you're using (fcm-node) likely still uses the old protocol.

Existing send method gives below error:

{"multicast_id":8968610879307183290,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"DeprecatedApi"}]}

GUDDU434 avatar Sep 17 '24 05:09 GUDDU434

hi @GUDDU434, thanks for opening the issue, but this lib is barely maintained and is deprecated since 2017. I'll see if I have time to give it a little survival time, but I can't guarantee

jlcvp avatar Sep 17 '24 11:09 jlcvp

I just came back to an old project where customers were complaining of no pushes received, and it turns out the HTTP protocol was totally killed in June 2024. Transitioning to the core Firebase SDK and recommend everyone else does the same.

nabilfreeman avatar Dec 19 '24 13:12 nabilfreeman