• Getting Started
  • Source Adapters
  • Source Adapter Ruby APIs
  • Source Adapter JS APIs
  • Plugins
  • Push Sync
  • Administration
  • Deployment
  • Advanced Topics
  • Clients
  • Hosted Services
  • Vendor Adapters
Warning Older Docs! - You are viewing documentation for a previous released version of RhoMobile Suite.

Push Synchronization

Use push synchronization when you want to automatically detect changes on the RhoConnect side, and you want to push those changes to your client without having to tell your client to sync.

RhoConnect has a simple ruby API for sending push notifications (a ping call) to a user’s devices. This API can be called directly, queued as a resque job, or called remotely via the RhoConnect REST API. The push message can trigger the following actions in the Rhodes application: alert with a message, sync one or more sources, vibrate, display a badge, and play a sound file.

The following sections show how to use the RhoConnect application to deliver push messages to each client platform and how you can handle the push notification in your Rhodes application.

Setting up Server and Client

You will need to perform one of the following set of instructions on the RhoConnect server and your mobile device for your specific platform.

Executing a Ping Call

RhoConnect has a simple ruby API for sending push notifications (a ping call) to a user’s devices. You can execute a ping call from your RhoConnect source adapter or from your backend application that uses a RhoConnect plugin.

Testing Push

You can test push from the RhoConnect console.

Back to Top