πΉ notifikasi
__CAPGO_KEEP_0__
π Atur notifikasi native Capgo di aplikasi Capacitor Anda.
βοΈ Setup
Pengaturannpx @capgo/cli@latest notifications setupInstal plugin notifikasi Capgo, tambahkan konfigurasi Capacitor, buat file bantuan, dan jalankan Capacitor sinkronisasi. Sebelum mengirim notifikasi produksi, konfigurasi kunci push Android dan iOS di tab Notifikasi aplikasi Capgo.
Contoh:
npx @capgo/cli@latest notifications setup com.example.appPilihan:
| Parameter | Tipe | Deskripsi |
|---|---|---|
| βserver-url | string | Capgo API URL Server |
| βfile | string | Bantuan file untuk membuat (default: src/capgo-pemberitahuan.ts) |
| βforce | boolean | Overwrite file bantuan jika sudah ada |
| βno-install | boolean | Lebihkan instalasi paket pemberitahuan |
| βno-sync | boolean | Lebihkan sinkronisasi Capacitor |