Android Google Cloud Messaging concept -


I have recently started working with Android's Google Cloud Messaging (GCM) and I understand basic concepts Difficulty is coming in. How GCM works

At this time, I think that basically, we have 3 architecture in the entire architecture:

First Level - My Server Level 2 - Google Message Server Third Level - Client Android App

So every time I understand what a new user installs my Android application, the app will be registered with Google's server and will get a "Registration ID", and then it will be considered To connect to your server A. To find your registration ID, "to register itself in the server."

My question is, should my server keep every registration ID in my database in order for me to publish a message to all users with my Android app? Or there is a way to "Send messages to all users" in GCM without the need for each registration ID.

You must store the registration ID in your database.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -