Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use GCM Token for push messages in FCM

Currently we have devices using old GCM implementation.

Does anyone know if it's possible to use old existing GCM tokens when sending push messages using firebase cloud messaging APIs?

Or would the apps require the new FCM sdk implementation?

like image 910
JoshuaTree Avatar asked Feb 07 '23 13:02

JoshuaTree


1 Answers

Does anyone know if it's possible to use old existing GCM tokens when sending push messages using firebase cloud messaging APIs?

Yeah that is possible. FCM and GCM messaging api are the same. The only thing that is different is the url (gcm-http.googleapis.com/gcm/ vs fcm.googleapis.com/fcm/) but they point to the same server.

Also see server endpoints documentation.

like image 129
Tim Avatar answered Feb 13 '23 05:02

Tim