chrisben / imgcache.js

JS library based on the File API to cache images for offline recovery (target: cordova/phonegap & chrome)
Other
826 stars 216 forks source link

Failed to load Cached Images on IOS #235

Open kharatps02 opened 5 years ago

kharatps02 commented 5 years ago

I'm not able to load/show cached images on IOS.

Cached images saved at path file:///var/mobile/Containers/Data/Application/92523CF4-87E7-4E5B-84F8-F2600B4E7FBD/Documents/imgcache/606f1134b96745a66fcac9d458cc19bfa4ed70c5.jpg

Cached Image request url is http://localhost:8080/var/mobile/Containers/Data/Application/92523CF4-87E7-4E5B-84F8-F2600B4E7FBD/Documents/imgcache/606f1134b96745a66fcac9d458cc19bfa4ed70c5.jpg

Error Failed to load resource: http://localhost:8080/var/mobile/Containers/Data/Application/92523CF4-87E7-4E5B-84F8-F2600B4E7FBD/Documents/imgcache/606f1134b96745a66fcac9d458cc19bfa4ed70c5.jpg the server responded with a status of 404 (Not Found)

config.xml allow-navigation href="http:///" / allow-intent href="http:///" / access origin="http://localhost:8080" / allow-navigation href="http://localhost:8080/" / allow-intent href="http://localhost:8080/" / preference name="iosPersistentFileLocation" value="Compatibility" /

Mae623 commented 2 years ago

hello, have you solve this question? I meet similar question, too