πΉ notifikasi
Salin prompt setup yang berisi langkah install dan panduan markdown lengkap untuk plugin ini.
π Atur notifikasi native Capgo di aplikasi Capacitor Anda.
βοΈ Setup
Bagian berjudul β βοΈ Setupβnpx @capgo/cli@latest notifications setupInstal plugin notifikasi Capgo, tambahkan konfigurasi Capacitor, buat file helper, dan jalankan Capacitor sync. Sebelum mengirim notifikasi produksi, konfigurasikan kredensial push Android dan iOS di tab Notifications aplikasi Capgo.
Contoh:
npx @capgo/cli@latest notifications setup com.example.appOpsi:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| βserver-url | string | URL server Capgo API |
| βfile | string | File helper untuk dibuat (default: src/capgo-notifications.ts) |
| βforce | boolean | Overwrite the helper file if it already exists |
| βno-install | boolean | Lewati instalasi paket notifications |
| βno-sync | boolean | Lewati sinkronisasi Capacitor |