@capgo/cli 8.24.6 → 8.25.0
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 +32 -0
- package/dist/index.js +553 -518
- package/dist/package.json +1 -1
- package/dist/src/notifications/setup.d.ts +10 -0
- package/dist/src/sdk.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -165,6 +165,8 @@ Join the [discord](https://discord.gg/VnYRvBfgA6) to get help.
|
|
|
165
165
|
- [Update](#build-credentials-update)
|
|
166
166
|
- [Manage](#build-credentials-manage)
|
|
167
167
|
- [Migrate](#build-credentials-migrate)
|
|
168
|
+
- 🔹 [Notifications](#notifications)
|
|
169
|
+
- [Setup](#notifications-setup)
|
|
168
170
|
- 🔹 [Probe](#probe)
|
|
169
171
|
- 🔹 [Generate-docs](#generate-docs)
|
|
170
172
|
- 🔹 [Mcp](#mcp)
|
|
@@ -1706,6 +1708,36 @@ Example:
|
|
|
1706
1708
|
| **--local** | <code>boolean</code> | Migrate from local .capgo-credentials.json instead of global |
|
|
1707
1709
|
|
|
1708
1710
|
|
|
1711
|
+
## <a id="notifications"></a> 🔹 **Notifications**
|
|
1712
|
+
|
|
1713
|
+
🔔 Set up Capgo native notifications in your Capacitor app.
|
|
1714
|
+
|
|
1715
|
+
### <a id="notifications-setup"></a> ⚙️ **Setup**
|
|
1716
|
+
|
|
1717
|
+
```bash
|
|
1718
|
+
npx @capgo/cli@latest notifications setup
|
|
1719
|
+
```
|
|
1720
|
+
|
|
1721
|
+
Install the Capgo notifications plugin, add Capacitor config, create a helper file, and run Capacitor sync.
|
|
1722
|
+
Before sending production notifications, configure Android and iOS push credentials in the Capgo app Notifications tab.
|
|
1723
|
+
|
|
1724
|
+
**Example:**
|
|
1725
|
+
|
|
1726
|
+
```bash
|
|
1727
|
+
npx @capgo/cli@latest notifications setup com.example.app
|
|
1728
|
+
```
|
|
1729
|
+
|
|
1730
|
+
**Options:**
|
|
1731
|
+
|
|
1732
|
+
| Param | Type | Description |
|
|
1733
|
+
| -------------- | ------------- | -------------------- |
|
|
1734
|
+
| **--server-url** | <code>string</code> | Capgo API server URL |
|
|
1735
|
+
| **--file** | <code>string</code> | Helper file to create (default: src/capgo-notifications.ts) |
|
|
1736
|
+
| **--force** | <code>boolean</code> | Overwrite the helper file if it already exists |
|
|
1737
|
+
| **--no-install** | <code>boolean</code> | Skip installing the notifications package |
|
|
1738
|
+
| **--no-sync** | <code>boolean</code> | Skip Capacitor sync |
|
|
1739
|
+
|
|
1740
|
+
|
|
1709
1741
|
## <a id="probe"></a> 🔹 **Probe**
|
|
1710
1742
|
|
|
1711
1743
|
```bash
|