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.
You will need to perform one of the following set of instructions on the RhoConnect server and your mobile device for your specific platform.
Then you will need to perform the final set up on your client.
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.