🔹 notificaciones
Instale
🔔 Configura Capgo de notificaciones nativas en tu Capacitor de aplicación.
⚙️ Configuración
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.
Copiar al portapapeles
npx @capgo/cli@latest notifications setup com.example.appVentana de terminal
| Copiar al portapapeles | Opciones: Parametro: Tipo: | Descripción |
|---|---|---|
| —url del servidor | string | Capgo API URL del servidor |
| —archivo | string | Archivo auxiliar para crear (por defecto: src/capgo-notifications.ts) |
| —obligatorio | boolean | Sobreescribir el archivo auxiliar si ya existe |
| —sin-instalar | boolean | Saltar la instalación del paquete de notificaciones |
| —sin-sincronizar | boolean | Saltar la sincronización de Capacitor |