Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
“GCM topic messaging allows your app server to send a message to multiple devices that have opted into a particular topic.”
Based on the publish/subscribe model, topic messaging supports unlimited subscriptions per app.
The app server sends messages with payloads up to 2KB to the topic.
GCM introduces topic messaging, a way of sending messages to many clients.
An application can create one or more topics and register clients to each topic. Then messages are sent for a specific topic, GCM informing all clients who have been registered for it. This way one can reach a large number of clients, even all of them.
Developers can choose any topic name that matches the regular expression, "/topics/[a-zA-Z0-9-_.~%]+"
"/topics/[a-zA-Z0-9-_.~%]+"
GCM topic is very similar to sending messages to an individual device.
The app server sets to with /topics/yourTopicMessage
to
/topics/yourTopicMessage
We can send data messages to a topic by HTTP and XMPP protocols.
Expect up to 30 seconds of delay before the GCM Connection Server returns a success or failure response to the topic send requests.
To subscribe to a topic, the client app calls GCM PubSub subscribe() with the GCM registration token and topic name.
subscribe()
The GCMReceiver and GCMListenerService services is simplify use for message handling on Android client apps.
GCMReceiver
GCMListenerService
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.