const status = await navigator.permissions.query({ name: 'periodic-background-sync', }); if (status.state === 'granted') { // Periodic background sync can be used. } else { // Peri
const status = await navigator.permissions.query({ name: 'periodic-background-sync', }); if (status.state === 'granted') { // Periodic background sync can be used. } else { // Peri