ionic-team / cordova-plugin-ionic-webview

Web View plugin for Cordova, specialized for Ionic apps.
Apache License 2.0
485 stars 393 forks source link

Local assets not loaded when airplane mode is on #174

Open masimplo opened 5 years ago

masimplo commented 5 years ago

I am including some local assets to my project (images, json etc) that when running the app on mobile I see that they are fetched using an http request to localhost and that is fine. If after some time (say 3 hours) I start the app while the phone is on airplane mode (or some sort of network down) those assets do not load, even though they are local. On the other hand, if I start the app, kill it, turn airplane mode on and then start it again, the assets load fine (for three hours or so, guess this is some sort of caching timeout). I tested this both in 1.x and 2.x versions of this plugin and the behaviour seems to be the same.

lwsitachi commented 5 years ago

have you solved this problem? thx

masimplo commented 5 years ago

No I haven't unfortunately.