Chrome app offline mode -
hi day have tutorial how make chrome extension/app offline?
i'm new on developing chrome apps embed website url manifest.json want chrome app usable offline mode have tutorial on how make chrome app offline?
from understand (chrome 47), there might issue webviews , offline support. in fact include webview, default offline_enabled flag gets set false.
https://developer.chrome.com/apps/manifest/offline_enabled
now theoretically way webview going work offline if content cached. ergo think use html5 application cache.
if have chrome os device disconnected internet running app webview, if explicitly set offline_enabled flag true , webview wants load content have in html5 application cache seems scenario not work right now.
simply having webview, 1 going load html5 app/page html5 application cache, chrome os give err_internet_disconnected error before trying load url.
oddly enough, if html5 application cache has cached app/page , server of url offline chrome os device connected internet, webview correctly load page html5 app cache.
i brought issue google today. seems oversight webviews , failure check html5 application cache when device offline. update here if interested.
feb 3, 2016 edit
we figured out our problem our app tries http url gets redirected https , cached. when offline, tries http , fails find cached dinosaur page offline.
by trying https in our case, works. webviews appcache work fine in chrome os apps in offline.
Comments
Post a Comment