Service Worker support in chrome webview

2019-04-29 02:32发布

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条回答
成全新的幸福
2楼-- · 2019-04-29 03:04

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.

查看更多
登录 后发表回答