forked from Meteor-Community-Packages/raix-push
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from NUDelta/apn-pfx
chore: Update to work with node-apn V2 and apn.pfx files
- Loading branch information
Showing
9 changed files
with
8,832 additions
and
1,224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,13 @@ | |
|
||
<img alt="Gi-SoftWare" src="https://raw.githubusercontent.com/raix/push/master/docs/logo.png" width="20%" height="20%"> | ||
|
||
raix:push Push notifications | ||
nudelta2015:push Push notifications | ||
============================ | ||
[![Build Status](https://travis-ci.org/raix/push.svg?branch=master)](https://travis-ci.org/raix/push) | ||
This is a fork of raix:push to support passing a pfx file to the node-apn | ||
|
||
|
||
============================ | ||
[![Build Status](https://travis-ci.com/NUDelta/push.svg?branch=master)](https://travis-ci.com/NUDelta/push) | ||
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) | ||
|
||
> Push notifications for cordova (ios, android) browser (Chrome, Safari, Firefox) - One unified api on client and server. | ||
|
@@ -113,7 +117,7 @@ Push.send({ | |
|
||
## Install | ||
```bash | ||
$ meteor add raix:push | ||
$ meteor add nudelta2015:push | ||
$ meteor add cordova:[email protected] | ||
$ meteor add cordova:[email protected] | ||
# Note: you probably want to adjust the version numbers to the latest versions of the packages | ||
|
@@ -187,11 +191,9 @@ For example in `Meteor.startup()` block of main.js | |
```js | ||
Push.Configure({ | ||
apn: { | ||
certData: Assets.getText('apnDevCert.pem'), | ||
keyData: Assets.getText('apnDevKey.pem'), | ||
pfx: 'path/to/your-single-p12-file.p12' | ||
passphrase: 'xxxxxxxxx', | ||
production: true, | ||
//gateway: 'gateway.push.apple.com', | ||
}, | ||
gcm: { | ||
apiKey: 'xxxxxxx', // GCM/FCM server key | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.