News

PubNub Now Supports Google Cloud Messaging (GCM) for Android

2 min readJoe Hanson on Jul 9, 2014
Try PubNub Today

Free up to 1MM monthly messages. No credit card required.

Subscribe to our newsletter

By submitting this form, you are agreeing to our Terms and Conditions and Privacy Policy.

PubNub now supports Google Cloud Messaging (GCM) for Android push notifications.

PubNub Mobile Push Gateway makes delivering real-time push notifications to iOS and Android devices fast and easy. Today, we’re pleased to announce that PubNub Mobile Push Gateway now supports Google Cloud Messaging (GCM).

You can now easily build GCM/Android push notifications into your PubNub application, streamlining cross-platform message delivery and eliminating the need to develop additional server-side components for GCM.

GCM PubNub Push Notifications

So what do we mean by easier?

To start, you now don’t have to worry about developing additional server-side components for GCM. In addition to publishing messages with PubNub directly to iPhones, iPads, and iPods via APNS, you can also publish to all Android devices using our Mobile Push Gateway for GCM.

The PubNub Mobile Push Gateway acts as the provider between subscriber devices of all kinds and 3rd party services, enabling you to instantly deliver push notifications in parallel to Android devices.

Want to learn more? Our PubNub Android GCM documentation or JavaScript GCM documentation gives you everything you need to know about push notifications with Google Cloud Messaging including:

  • Overview and architecture of GCM and PubNub
  • Preparing your Android development environment
  • Preparing your PubNub environment
  • Building a working application
  • Testing your application
PubNub GCM Push Notifications

GCM, like APNS, is great for one-way, non-mission critical communication of trivial (128b to 4Kb) message lengths.

However, for mission-critical, bi-directional communication that must be reliable, guaranteed, and delivered in real-time with message lengths of up to 32Kb, we recommend using PubNub Data Streams.

Let us know what you think by tweeting us at @PubNub, and if you need any additional support, contact support@pubnub.com!

More from PubNub

Can Empathy Exist in the Metaverse
News May 16, 20221 min read

Can Empathy Exist in the Metaverse

A roundtable discussion led by PubNub’s COO, Casey Clegg, exploring the topics of what it means to be human in a virtual world.

PubNub Staff

PubNub Staff

How to Advance Telehealth and Virtual Care Technologies
News May 2, 20221 min read

How to Advance Telehealth and Virtual Care Technologies

Dr. Joe Kvedar, Chair of the Board for the American Telemedicine Association, joins our COO, Casey Clegg, to discuss why...

PubNub Staff

PubNub Staff

Another Step Towards Data Security: ISO-27001 Implementation
BuildMay 2, 20221 min read

Another Step Towards Data Security: ISO-27001 Implementation

Today, we are glad to announce that we are currently in the process of implementing ISO-27001 security standards.

PubNub Staff

PubNub Staff