Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Service Worker support in chrome webview

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.

like image 386
Pankaj Avatar asked May 16 '17 02:05

Pankaj


1 Answers

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.

like image 178
Jeff Posnick Avatar answered Oct 18 '22 09:10

Jeff Posnick