Skip to content

Commit

Permalink
feat(notifications): add apple push notifications (#2077)
Browse files Browse the repository at this point in the history
  • Loading branch information
iampaulanca committed Mar 17, 2021
1 parent d46c636 commit 6b78b2e
Show file tree
Hide file tree
Showing 6 changed files with 2,218 additions and 3,856 deletions.
14 changes: 14 additions & 0 deletions docs/reference/notification.md
Expand Up @@ -2,6 +2,20 @@

You can test your notification configuration by running `npm run test:notification`.

## Apple Push Notification Service

| Environment variable | Description |
|---|---|
| `APNS_AUTHKEY` | Path to authkey on users machine |
| `APNS_BUNDLEID` | iOS app bundle id |
| `APNS_DEVICETOKEN` | iOS device token|
| `APNS_KEYID` | Apple developer's key id |
| `APNS_PRODUCTION` | true/false for production |
| `APNS_TEAMID` | Apple developer's team id |

Change your notification alert/payload/etc in apns.ts in the note object.
Refer to https://github.com/node-apn/node-apn for config options.

## Desktop

| Environment variable | Description |
Expand Down

0 comments on commit 6b78b2e

Please sign in to comment.