From 999dfcfd24b9f01f72906c15f430ef44ef5e4405 Mon Sep 17 00:00:00 2001 From: Timan Rebel Date: Mon, 6 Oct 2014 09:22:31 +0200 Subject: [PATCH] Updated readme --- android/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/android/README.md b/android/README.md index 1e71b08..738760d 100644 --- a/android/README.md +++ b/android/README.md @@ -36,8 +36,8 @@ To enable Android Push Notifications To handle received notifications ```javascript - Parse.addEventListener('onPushMessageReceived', function(e) { - Ti.API.log("Ti.onPushMessageReceived", JSON.stringify(e)); + Parse.addEventListener('notification', function(e) { + Ti.API.log("notification: ", JSON.stringify(e)); ``` Subscribe or unsubscribe to Parse Channels @@ -55,6 +55,8 @@ Subscribe or unsubscribe to Parse Channels ## Changelog +**[v0.3](https://github.com/timanrebel/Parse/releases/tag/0.3)** +- Fire `notification` event when new notification is received. **[v0.2](https://github.com/timanrebel/Parse/releases/tag/0.2)** - Moved the app id and client key to tiapp.xml and moved initialization of the module during startup of your Application. To fix [#1](https://github.com/timanrebel/Parse/issues/1)