Service Worker support in chrome webview

8.7k Views Asked by At

Is Service Worker supported in chrome webview for android, if yes then from which version is it supported. Tried googling, but didn't find proper information.

1

There are 1 best solutions below

0
Jeff Posnick On BEST ANSWER

As per this announcement, service workers have been supported in Chrome WebViews since March of 2015 (Android WebView v40+). Devices running Android OS 5.0 and higher should have it.

Since WebViews have their own sandboxed environment, the data cached by a service worker there won't be exposed to the normal Chrome application, and vice versa. If you were using Chrome Custom Tabs, the cached data would be shared with the normal Chrome application.