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:
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.