@radhya/mach 2.1.0 → 2.1.2
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 +1 -1
- package/dist/index.js +166 -249
- package/docs/push.md +3 -1
- package/package.json +1 -1
package/docs/push.md
CHANGED
|
@@ -13,7 +13,7 @@ mach link
|
|
|
13
13
|
mach push setup
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
`push setup` detects Expo
|
|
16
|
+
`push setup` detects Expo or bare React Native; reads the native app
|
|
17
17
|
identifiers; creates or reuses the matching MACH Push app; installs the mobile
|
|
18
18
|
SDK; and starts permission, registration, and notification listeners from the
|
|
19
19
|
application entry point.
|
|
@@ -22,6 +22,8 @@ The command writes public SDK values to a generated file. It creates a separate
|
|
|
22
22
|
application-owned callback file for foreground notifications, notification
|
|
23
23
|
taps, registration, permission changes, and errors. Running setup again
|
|
24
24
|
refreshes generated configuration but never overwrites those callbacks.
|
|
25
|
+
If an administrator deleted the server-side push app, running setup again
|
|
26
|
+
detects the stale local key and safely creates or links a replacement.
|
|
25
27
|
|
|
26
28
|
Expo setup also installs and wires `@radhya/mach/expo-plugin`. The plugin adds
|
|
27
29
|
the APNs entitlement, Android notification permission, Firebase config path,
|