News

PubNub Now Supports Google Cloud Messaging (GCM) for Android

2 min read Joe 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

Top Trends to Engage Your App Users
InsightsSep 27, 20224 min read

Top Trends to Engage Your App Users

Take a look at the top trends that are the most effective in attracting customers and reducing churn, and how you can incorporate...

PubNub Staff

PubNub Staff

Comparing Game Engines: Unity vs Unreal vs the Rest
Real-Time Gaming BlogSep 21, 20225 min read

Comparing Game Engines: Unity vs Unreal vs the Rest

Comparing the major game engines: Unity vs Unreal Engine vs Corona SDK vs GameMaker Studio, including the benefits and cons of...

PubNub Staff

PubNub Staff

Python Socket Programming: Client, Server and Peer Libraries
BuildSep 21, 20226 min read

Python Socket Programming: Client, Server and Peer Libraries

Sockets (aka socket programming) enable programs to send and receive data, bi-directionally, at any given moment. This tutorial...

PubNub Staff

PubNub Staff