ToothlessGear / node-gcm

A NodeJS wrapper library port to send data to Android devices via Google Cloud Messaging
https://github.com/ToothlessGear/node-gcm
Other
1.3k stars 208 forks source link

FCM compatibility #255

Closed tudor-pop closed 7 years ago

tudor-pop commented 8 years ago

is this compatible with the new FCM ? to me it seems there is nothing to be changed on the serverside but I might be wrong

hypesystem commented 8 years ago

Yes, it is :-) we have even updated the API endpoint in the latest version. We could probably add a note to the README clarifying that it does work for FCM.

eladnava commented 7 years ago

README has been updated to reflect support for FCM.

atgillette commented 7 years ago

I'm thinking about migrating from gcm to fcm. Does anyone know if my id will stay the same? And is there any gotchas to doing the migration?

eladnava commented 7 years ago

@atgillette Yes, FCM is mostly an endpoint change. The registration IDs have not changed, no gotchas as far as I know. FCM is simply a re-branding of GCM with a few more features added, while maintaining backward-compatibility.