Skip to content

Bumps to alpha version of node-apn #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
4.6

8.9.1
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- '4.6'
- '8.9.1'
after_success: "./node_modules/.bin/codecov"
deploy:
provider: npm
Expand Down
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,36 @@ VERBOSE_PARSE_SERVER_PUSH_ADAPTER=1
```

This will produce a more verbose output for all the push sending attempts

### Using a custom version on parse-server

#### Install the push adapter

```
npm install --save @parse/push-adapter@VERSION
```

Replace VERSION with the version you want to install.

#### Configure parse-server

```js
const PushAdapter = require('@parse/push-adapter').default;
const pushOptions = {
ios: { /* iOS push options */ } ,
android: { /* android push options */ }
}
// starting 3.0.0
const options = {
appId: "****",
masterKey: "****",
push: {
adapter: new PushAdapter(pushOptions),
},
/* ... */
}

const server = new ParseServer(options);

/* continue with the initialization of parse-server */
```
Loading