i have phonegap app opens inappbrowser. when kill internetconnection whole application stays available exepct images.
when same in safari, start app, kill internet connection, whole application including images in cache.
the question how can fix images in inappbrowser stay in cache?
code:
document.addeventlistener("deviceready", ondeviceready, false); app.initialize(); function ondeviceready() { // safe use codova api var ref = cordova.inappbrowser.open('https://one2ten-system.parseapp.com/v2', '_blank', 'disallowoverscroll=yes,toolbar=no,location=no,zoom=no,hidden=yes'); ref.addeventlistener('loadstop', function(event) { ref.show();}); }
Comments
Post a Comment