Created
June 10, 2016 11:48
-
-
Save ccapndave/05249b5a2b7ee803a820424396950812 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Torne: we don't have a way for service workers to be activated in webview other than directly by a page that's currently being shown | |
Torne: it's extremely nontrivial to design :/ | |
Torne: sync in particular is very hard because the sync event would have to come from *the embedding app* | |
Torne: not from chrome | |
Torne: so the app would have to have registered for sync, and then when that happens, tell webview somehow | |
Torne: in a way that can start up the right service workers | |
Torne: right now the only use of service worker that really makes sense in webview is the cache api | |
Torne: and even that has some open questions assocaited | |
ccapndave: Chrome for Android can do background sync though, can it? | |
Torne: yes, because *chrome* registers as needing sync, notifications, push, etc | |
Torne: on websites' behalf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment