Bug 201866 - Background Sync API
Summary: Background Sync API
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-09-17 03:18 PDT by Jamie Dixon
Modified: 2023-12-15 01:34 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jamie Dixon 2019-09-17 03:18:49 PDT
Hi there,

I'd like to request support for the Background Sync API in Safari on iOS.

How we use this feature:

We provide web-based forms for our clients to complete with their customers while "on the road". It is a requirement that our client be with their customer while filling out these forms.
As is often the case, the network connections in the locations that our clients visit can be somewhat lacking, particularly in rural parts of the country.

When our client is offline or having an unstable connection, we store the form submissions in indexedDB and re-syncronise them with our server once they are back online.

In Chrome we can make use of the Background Sync API so that we can send form submissions to the server when our client comes back online, even if they have closed their browser.
In Safari on iOS we have to instruct our clients to keep their browser window open so that syncronisation can happen when they come online.

Having to maintain two separate paths for syncronisation isn't ideal and we'd love for Safari on iOS to support this API.

(We'd also love to be able to use `showNotification` to message our client when syncronisations have happened, like we do with Chrome. I'll raise a separate ticket for that)
Comment 1 Radar WebKit Bug Importer 2019-09-17 13:11:07 PDT
<rdar://problem/55450445>