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

Fixes custom ios schemes and file path issues on some IOS devices. (Supersedes #253) #258

Open weareu opened 2 years ago

weareu commented 2 years ago

This change is required for custom URL scemes and cordova-ios 6+ to function without file and new cordova-file-plugin hooks on URL. It also previously fixed problematic folders in #253 but is now required for later versions on IOS.

weareu commented 2 years ago

Also Added android-cordova 10+ changes where cdvfile is used on http. This causes the latest file transfer plugin to fail. I now send .nativeUrl to file transfer which interprets the file correctly and use cdfile via toURL or toNativeUrl or whatever as they all now return the http path for client side path or cached path.

chrisben commented 2 years ago

Could you please update the conflicts before I merge it. thanks.