Sha256: 180169a980376980b6b3daf0ee0106e5cf3267d6d6e079a030d2942bb238a4c7

Contents?: true

Size: 1.8 KB

Versions: 20

Compression:

Stored size: 1.8 KB

Contents

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](/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.

* [Set up RhoConnect Push Service on client and server for Rhodes Android and Windows Mobile/CE Devices](/rhoconnect/push-client-setup-rps).
* [Set up Google Cloud Messaging on client and server for Rhodes Android Device](/rhoconnect/push-client-setup-android).
* [Set up Apple Push Notification Service on client and server for Rhodes iOS Device](/rhoconnect/push-client-setup-ios).
Then you will need to [perform the final set up on your client](/rhoconnect/push-client-setup).

## 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](/rhoconnect/push-backend-setup).

## Testing Push

You can [test push from the RhoConnect console](/rhoconnect/push-testing).


Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
rhoconnect-7.6.0 doc/push.txt
rhoconnect-7.5.1 doc/push.txt
rhoconnect-7.4.1 doc/push.txt
rhoconnect-7.1.17 doc/push.txt
rhoconnect-6.2.0 doc/push.txt
rhoconnect-6.0.11 doc/push.txt
rhoconnect-5.5.18 doc/push.txt
rhoconnect-5.5.17 doc/push.txt
rhoconnect-5.5.15 doc/push.txt
rhoconnect-5.5.0.22 doc/push.txt
rhoconnect-5.5.2 doc/push.txt
rhoconnect-5.5.0.7 doc/push.txt
rhoconnect-5.5.0.3 doc/push.txt
rhoconnect-5.5.0 doc/push.txt
rhoconnect-5.1.1 doc/push.txt
rhoconnect-4.0.4 doc/push.txt
rhoconnect-4.0.3 doc/push.txt
rhoconnect-4.0.2 doc/push.txt
rhoconnect-4.0.1 doc/push.txt
rhoconnect-4.0.0 doc/push.txt