Here goes sample client apps, interacting with cordovapush server.
You should install cordova-client
Use cordova-client command lines to build and emulate the project.
edit the pushConfig.js file (under www/js directory) :
pushConfig.c2dmSenderId = "YOUR_PROJECT_ID";// a Google API project id. Get it from https://code.google.com/apis/console
pushConfig.subscribePushServerURL = "YOUR_PUSH_SERVER_SUBSCRIPTION_URL";// eg : "http://10.1.8.56:8888/subscribe"
pushConfig.unsubscribePushServerURL = "YOUR_PUSH_SERVER_UNSUBSCRIPTION_URL";// eg : "http://10.1.8.56:8888/unsubscribe"
it uses the following tools / plugins :
- 0.2.0 : cordova-client automate build
- 0.1.0 : init