đč 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 |