Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
timanrebel committed Oct 6, 2014
1 parent c5b62e4 commit 999dfcf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 999dfcf

Please sign in to comment.