I am confused about GCM Sender ID and API key. I'm responsible for building 3rd party server that will send notifications to Android app.
Which one do I have to store on server side? API key or Sender ID? Who is responsible for creating both, Android developer or me?
Google Cloud Messaging (GCM) Sender ID: A unique numerical value which is created when you configure your Project in the Google Developers Console/ Google Cloud Console.
A sender ID: set in the code of your app. Android Studio uses automatically the Sender ID of your Firebase Project. If you are still using GCM, you have probably set manually the sender ID in the code of your app. The sender ID identifies your app to Firebase Cloud Messaging when it asks for a token.
Google Cloud Messaging (GCM) was a mobile notification service developed by Google that enables third-party application developers to send notification data or information from developer-run servers to applications that target the Google Android Operating System, as well as applications or extensions developed for the ...
I've kinda figured it out on my own:
It depends on how your thirds party server is going to work, but in general it works like this:
Information on how the developers get this information can be found in the GCM documentation: http://developer.android.com/google/gcm/gs.html
Depending on your needs there are third party commercial sever solutions available.
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