🔹 notifications
Copiez un prompt de configuration incluant les étapes d'installation et le guide markdown complet pour ce plugin.
🔔 Configurez les notifications natives Capgo dans votre application Capacitor.
⚙️ Configuration
Section intitulée « ⚙️ Configuration »npx @capgo/cli@latest notifications setupInstallez le plugin de notifications Capgo, ajoutez la config Capacitor, créez un fichier helper et lancez Capacitor sync. Avant d'envoyer des notifications en production, configurez les identifiants push Android et iOS dans l'onglet Notifications de l'app Capgo.
Exemple :
npx @capgo/cli@latest notifications setup com.example.appOptions :
| Paramètre | Type | Description |
|---|---|---|
| —server-url | string | URL du serveur Capgo API |
| —file | string | Fichier helper à créer (par défaut : src/capgo-notifications.ts) |
| —force | boolean | Écraser le fichier d'aide s'il existe déjà |
| —no-install | boolean | Ne pas installer le package notifications |
| —no-sync | boolean | Ignorer la synchronisation Capacitor |