Closed beverloo closed 2 years ago
@beverloo, can you mention the issue when you do so so we can see its status from here?
So it doesn't in browsers (Firefox?) right now? Also, what about registering Background Sync from push
event?
Firefox doesn't implement background sync yet, but you can follow this bug if you'd like. IIUC, step 6 in the SyncManager.register
algorithm means you can't register a background sync from either handler when the page isn't active. That restriction can be lifted, though, and a push
event might be a good opportunity to show a notification and schedule a sync for a later time.
@kitcambridge Makes sense, thank you!
Marking as V2, as background sync is still not a widely supported thing.
Closing as out of scope for now.
We advocate use of it, so we need to make sure it works. I'll file an issue.