๐Ÿ”” Push Notification

Aktifkan untuk dapat update bola di browser

๐Ÿ”•

Status: Belum Aktif

Klik tombol di bawah untuk aktifkan notifikasi.

โš™๏ธ Pilih Kategori Notifikasi

๐Ÿงช Test Notifikasi

โš ๏ธ Catatan Privasi: Push notification hanya berfungsi di browser ini. Tidak ada data personal yang dikirim ke server kami โ€” pengaturan disimpan di localStorage browser lo.

๐Ÿ“‹ Compatibility

โœ… Chrome / Edge / Brave (Desktop + Android)
โœ… Firefox (Desktop + Android)
โš ๏ธ Safari iOS 16.4+ (harus install PWA dulu)
โŒ Safari Mac (limited support)

๐Ÿ› ๏ธ Setup Lanjutan (Untuk Admin)

Generate VAPID Keys & Deploy Worker

Untuk push real (bukan local only), butuh:

  1. Generate VAPID keys: npx web-push generate-vapid-keys
  2. Deploy Cloudflare Worker dengan binding KV (subscriber storage)
  3. Update sw.js dengan VAPID public key
  4. Hook ke cron yang trigger push (e.g. jadwal reminder)
[ Push log akan muncul di sini ]