🔹 notifications
Copiez une invite de configuration avec les étapes d'installation et le guide markdown complet pour ce plugin.
🔔 Configurez les notifications natives de Capgo dans votre application Capacitor.
⚙️ Configuration
contextnpx @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.
Installez le plugin de notifications __CAPGO_KEEP_0__, ajoutez la configuration __CAPGO_KEEP_1__, créez un fichier d'aide et exécutez la synchronisation __CAPGO_KEEP_2__. Avant d'envoyer des notifications de production, configurez les clés de push Android et iOS dans l'onglet Notifications de l'application __CAPGO_KEEP_3__.
npx @capgo/cli@latest notifications setup com.example.appCopier dans le presse-papier
| Options : | Paramètre : « Type » | Description |
|---|---|---|
| —server-url | string | —Capgo API URL du serveur |
| —fichier | string | Fichier d'aide à créer (par défaut : src/capgo-notifications.ts) |
| —forcer | boolean | Remplacer le fichier d'aide si celui-ci existe déjà |
| —ne pas installer | boolean | Ignorer l'installation du package de notifications |
| —ne pas synchroniser | boolean | Ignorer la synchronisation Capacitor |