πΉ notifications
Copy a setup prompt with the install steps and the full markdown guide for this plugin.
π Set up Capgo native notifications in your Capacitor app.
βοΈ Setup
Section titled β βοΈ Setupβnpx @capgo/cli@latest notifications setupInstall the Capgo notifications plugin, add Capacitor config, create a helper file, and run Capacitor sync. Before sending production notifications, configure Android and iOS push credentials in the Capgo app Notifications tab.
Example:
npx @capgo/cli@latest notifications setup com.example.appOptions:
| Param | Type | Description |
|---|---|---|
| βserver-url | string | Capgo API server URL |
| βfile | string | Helper file to create (default: src/capgo-notifications.ts) |
| βforce | boolean | Overwrite the helper file if it already exists |
| βno-install | boolean | Skip installing the notifications package |
| βno-sync | boolean | Skip Capacitor sync |