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!
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.
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With