πΉ 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, lalu jalankan Capacitor sync. Sebelum mengirim notifikasi produksi, konfigurasi kredensial push Android dan iOS di tab Notifications pada aplikasi Capgo.
Contoh:
npx @capgo/cli@latest notifications setup com.example.appOpsi:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| βserver-url | string | URL server API Capgo |
| βfile | string | File helper yang akan dibuat (default: src/capgo-notifications.ts) |
| βforce | boolean | Overwrite the helper file if it already exists |
| βno-install | boolean | Lewati instalasi package notifications |
| βno-sync | boolean | Lewati sinkronisasi Capacitor |