Warning Unreleased Docs! - You may be viewing documentation that reflects an upcoming release and the functionality described may not be in the current version you are using. Change the version above to the most recent version.

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