Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Morten Henriksen committed Dec 16, 2014
1 parent e2ea9a1 commit 1cfe0e6
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ Status:
* [ ] ADM Amazon Fire OS
* [ ] Meteor in app notifications

## Common api
```js
Push.send = function(from, appIds, title, text, count, priority);
Push.addListener();
Push.setBadge(count);

// Security
// Push.allow
// Push.deny
```
*The client-send branch is WIP of allow/deny rules in order to allow the user to send push messages to other users directly from the client*

## Server api

```js
Expand Down Expand Up @@ -76,16 +88,6 @@ Status:
*/
```

## Common api
```js
Push.send = function(from, appIds, title, text, count, priority);
Push.addListener();
Push.setBadge(count);

// Security
// Push.allow
// Push.deny
```

Kind regards

Expand Down

0 comments on commit 1cfe0e6

Please sign in to comment.