question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Service Worker

See original GitHub issue

It seems I can’t use the Service Worker API, or at least not on iOS. Am I missing something?

This is what it shows in the XCode debugging console:

APP ACTIVE
⚡️  [warn] - Service workers are not supported.
⚡️  WebView loaded

Affected platform

  • Android
  • iOS
  • electron
  • web

OS of the development machine

  • Windows
  • macOS
  • linux

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
dimaipcommented, Mar 16, 2020

I’m just curious, how to you go around this? Say I want to use service worker cache to pre-cache some API requests, how would I do it with Capacitor? Emulate it with Storage/localStorage? Any better options?

1reaction
kainosnoemacommented, Aug 20, 2021

As of iOS 14, Apps opting into App Bound domains (https://webkit.org/blog/10882/app-bound-domains) now do actually get service worker support in WKWebView. They’re not advertising it broadly yet, but it’s supported: https://twitter.com/othermaciej/status/1295434201865412608

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support Service Worker Jobs, Employment | Indeed.com
283256 Support Service Worker jobs available on Indeed.com. Apply to Customer Service Representative, Warehouse Worker, Food Service Worker and more!
Read more >
Service Workers | Can I use... Support tables for ... - CanIUse
Service Workers. - CR. Method that enables applications to take advantage of persistent background processing, including hooks to enable bootstrapping of ...
Read more >
Using Service Workers - Web APIs | MDN
Using a service worker you can set an app up to use cached assets ... browsers that don't support service workers can just...
Read more >
What Does A Service Worker Do - Zippia
A service worker is responsible for assisting the community welfare development by providing social services to an organization or specific individual ...
Read more >
SUPPORT SERVICE WORKER job in Chicago at State of Illinois
State of Illinois is currently looking for SUPPORT SERVICE WORKER near Chicago. Full job description and instant apply on Lensa.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found