Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will GCM give new tokens on old clients using GCM after its deprecation [duplicate]

Google has deprecated GCM as of April 10, 2018, and according to the documentations, will stop supporting GCM by April 11, 2019.

There has been a lot of Q/As about the topic and it has been mentioned that old tokens will continue to work for existing users, but my question is whether new users will be able to obtain new tokens using GCM after April 11?

So basically I have an application released with the old gcm codebase, using old versions of google play services, distributed in another market (not Play Store). As of now, installations get their GCM tokens and they are working as expected, what happens to a new user installing my (old) application after the deprecation? I don't plan on updating the application for now.

Thanks!

like image 379
mohammad zarei matin Avatar asked Jan 20 '19 13:01

mohammad zarei matin


People also ask

What is difference between GCM and FCM?

FCM is a cloud platform that provides messages and push notifications for operating systems- ios and Android, and websites as well. Google Cloud Messaging is a messaging service that enables the message transfer from server to clients apps.

What is GCM service on Android?

Google Cloud Messaging (GCM) is a service that allows you to send push notifications from your server to your users' Android devices, and also to receive messages from devices on the same connection.

How do I convert GCM to FCM?

Migrate the GCM Client library to FCM Client LibrarySelect your GCM project from the list of existing Google Cloud projects, and select Add Firebase. In the Firebase welcome screen, select Add Firebase to your Android App. Provide your package name and SHA-1, and select Add App. A new google-services.

How do I turn off GCM?

If you enable GCM at the domain level you can disable GCM for a specific domain by removing the routes and the delivery_method options from the scope where you wish to disable GCM. In “Configuring for GCM” all you need do is remove the GCM-related options from any Google push domains that you have defined.


1 Answers

new users will be able to obtain new tokens using GCM after April 11?

Simple answer NO

But your original question is :

Will GCM give new tokens on old clients using GCM

Simple answer YES

Google has replaced GCM (Google Cloud Messaging) with FCM (Firebase Cloud Messaging).

They no longer support the old GCM user interface for new users. Existing users can still use the old GCM interface but newly created keys will not work for Android messaging post 4/11/2019.

However, GCM and FCM registration tokens are mutually interchangeable; you can send to existing GCM tokens through the FCM HTTP server APIs.

Reference : https://developers.google.com/cloud-messaging/faq

like image 151
0xA Avatar answered Sep 21 '22 18:09

0xA