@radhya/mach 2.0.45 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/dist/index.js +313 -158
- package/docs/push.md +76 -0
- package/expo-plugin/index.js +41 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -10,6 +10,25 @@ Mach is a CLI that lets you build, sign, and submit React Native and Expo apps f
|
|
|
10
10
|
npm install -g @radhya/mach
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
### Push notifications
|
|
14
|
+
|
|
15
|
+
Install and wire provider-direct APNs/FCM push in the current linked project:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
mach push setup
|
|
19
|
+
mach push credentials apns --file AuthKey.p8 --team-id TEAMID1234 --key-id KEYID12345
|
|
20
|
+
mach push credentials fcm --file firebase-service-account.json
|
|
21
|
+
mach push send --user user_123 --title "Hello" --body "Your update is ready."
|
|
22
|
+
mach push status --days 30
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
MACH Push supports Expo development builds and bare React Native. It
|
|
26
|
+
adds a working default permission, registration, receive, and tap flow while
|
|
27
|
+
leaving an editable callback file in the application. It stores encrypted
|
|
28
|
+
device/provider credentials and aggregate delivery counters,
|
|
29
|
+
but not notification content or per-message history. See
|
|
30
|
+
[MACH Push](docs/push.md).
|
|
31
|
+
|
|
13
32
|
## Quick Start
|
|
14
33
|
|
|
15
34
|
```bash
|