Skip to content

Commit 6b78b2e

Browse files
authored
feat(notifications): add apple push notifications (#2077)
1 parent d46c636 commit 6b78b2e

File tree

6 files changed

+2218
-3856
lines changed

6 files changed

+2218
-3856
lines changed

docs/reference/notification.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

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

5+
## Apple Push Notification Service
6+
7+
| Environment variable | Description |
8+
|---|---|
9+
| `APNS_AUTHKEY` | Path to authkey on users machine |
10+
| `APNS_BUNDLEID` | iOS app bundle id |
11+
| `APNS_DEVICETOKEN` | iOS device token|
12+
| `APNS_KEYID` | Apple developer's key id |
13+
| `APNS_PRODUCTION` | true/false for production |
14+
| `APNS_TEAMID` | Apple developer's team id |
15+
16+
Change your notification alert/payload/etc in apns.ts in the note object.
17+
Refer to https://github.com/node-apn/node-apn for config options.
18+
519
## Desktop
620

721
| Environment variable | Description |

0 commit comments

Comments
 (0)