The Realtime Cloud Messaging examples
Objective-C C# JavaScript Python Ruby C Other
Switch branches/tags
Nothing to show
Failed to load latest commit information.
ActionScript Initial commit Oct 7, 2013
Android with Push Notifications Moved example to another repo Feb 2, 2015
Android Updated moved repositories Jul 24, 2015
AngularJS Updated JavaScript library CDN Jan 27, 2016
C Updated moved repositories Jul 24, 2015
CordovaPush Changed from callback based to promise based Feb 20, 2017
DotNet Update SDK version to 2.1.16 Jan 27, 2015
IonicPush Changed from callback based to promise based Feb 20, 2017
Java Moved repository Jul 22, 2016
Javascript Moved example to another repo Feb 2, 2015
Lua Moved Lua repository Aug 27, 2015
Mac OSX Added pch files Dec 3, 2013
NodeJs Initial commit Oct 7, 2013
PHP Moved repository May 15, 2015
PhoneGap Moved example to another repo Feb 2, 2015
Python (Django) Fixed get cluster appkey in querystring Dec 1, 2014
Python Moved python repository Oct 23, 2015
Ruby Added gem install Apr 7, 2014
Silverlight4 Initial commit Oct 7, 2013
Swift Added simple Swift example Oct 1, 2014
Titanium Updated download link May 8, 2015
Unity Added metadata files Nov 10, 2014
Windows 8.1 Universal Apps Windows 8.1 example repository migration May 11, 2015
WindowsPhone7 Initial commit Oct 7, 2013
iOS Push Notifications from the device Improved scroll and keyboard management Nov 21, 2014
iOS with Push Notifications Moved example to another repo Feb 2, 2015
iOS Updated clusterURL to https and disabled BITCODE Jun 3, 2016
.gitignore Updated JavaScript library CDN Jan 27, 2016 Updated license Oct 7, 2013

The Realtime Framework Pub/Sub Cloud Messaging

Part of the The Realtime® Framework, Realtime Cloud Messaging (aka ORTC) is a secure, fast and highly scalable cloud-hosted Pub/Sub real-time message broker for web and mobile apps.

If your website or mobile app has data that needs to be updated in the user’s interface as it changes (e.g. real-time stock quotes or ever changing social news feed) Realtime Cloud Messaging is the reliable, easy, unbelievably fast, “works everywhere” solution.

HTML5 WebSockets with HTTP fallbacks

Leveraging the HTML5 WebSockets standard, Realtime Cloud Messaging allows a bidirectional permanent link between the server and the connected user, allowing a web application to broadcast (push) data to a single user or to every connected user when needed, instead of waiting for the user’s browser to request it (as old-generation web applications do).

However if HTML5 WebSockets are not available because the user has an old browser then Realtime Cloud Messaging will automatically fallback to the best method available to deliver and receive the real-time messages (e.g. AJAX long-polling HTTP calls) so that you can code as if all users have modern browsers like Google Chrome or Safari.

###Cloud based - don't worry about servers

Realtime Cloud Messaging is business-critical, supported by an active multi-mloud strategy for Business Continuity, guaranteed by using several IaaS (Infrastructure as a Service) providers across 7 world regions.

Taking advantage of the amazing traffic-driven automatic scalability of Realtime Cloud Messaging, your applications will be able to scale to millions of concurrent users and can range from simple real-time activity streams like user comments, to complex collaborative applications like multi-player games, never forgetting the increasingly important notifications of new e-commerce product promotions or new content becoming available.

The sample apps

These sample apps use the Realtime® Framework Pub/Sub libraries to connect, send and receive messages through a Realtime® Messaging Server in the cloud.

Select your preferred programming language/platform and use these simple samples to see the powerful features of the Realtime® Framework in action.

These samples require the use of a Realtime® Framework application key. If you don't already own one, get one free now.

JavaScript ScreenShot iOS ScreenShot iOS ScreenShot iOS ScreenShot

and more ...

NOTE: For simplicity these samples assume you're using a Realtime® Framework developers' application key with the authentication service disabled (every connection will have permission to publish and subscribe to any channel). For security guidelines please refer to the Security Guide.

Starting Guide

The Realtime® Cloud Messaging starting guide is available here


The complete Realtime® Cloud Messaging library reference documentation is available here


Copyright 2013,

Licensed under the MIT license: