| Summary: | (r276164) Replacement for AppCache without App-Bound domains after Xcode 13 update | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Erwan M <ermathon> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | Normal | CC: | achristensen, annevk, bfulgham, katherine_cheney, webkit-bug-importer, wilander |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | iOS 15 | ||
|
Description
Erwan M
2021-12-28 09:26:05 PST
Hi! Thanks for filing. Given that you seem to rely fully on web technologies, even for storage, and you need to host primary content on more than the maximum number of app-bound domains, it sounds like you’re building a web app rather than an iOS app. Is there anything blocking you from using the web for this? Thanks for your response, John! We're already a web app, our users can directly browse our application from Safari or any other desktop/mobile browser. Our mobile application is just a way to improve customer experience by adding advanced features (camera, video, audio recording, barcode scanning, AR features, offline capabilities...) that are only available there because we don't fully rely on web technologies for each of them. For offline capabilities for instance, we indeed use AppCache for caching offline static assets but offline data syncing is done in our "native" code in our mobile application because no web technology exactly fits our needs (so offline mode is only available in the mobile app version and not the web app in its browser version). Not being able to use service workers in our mobile application would mean rewriting an entire offline caching mechanism ourselves (and for iOS only since both Android and Windows support it). Is there any other way to enable Service Worker than to enable App-Bound Domains? App bound domains are necessary to use service workers on iOS. You may also look into using WKURLSchemeHandler since you are already interfacing with native code. AppCache is on its way to being removed. Closing this as WONTFIX as we don't plan on supporting AppCache. |