I ran into a problem downloading insecure
http:// images on iOS using the HTTP plugin. The
downloadFile request fails with the error
There was an error downloading the file.
I suspect it’s related to iOS restrictions on insecure content, so think setting
nocheck would help.
However whenever I try calling
setSSLCertMode I get the warning
Ionic Native: tried calling HTTP.setSSLCertMode, but the HTTP plugin is not installed in the console.
Ionic Native: tried calling HTTP.setSSLCertMode, but the HTTP plugin is not installed. Install the HTTP plugin: 'ionic cordova plugin add cordova-plugin-advanced-http'
The plugin is installed though, since I can remove the
setSSLCertMode call and HTTP requests work fine.
Unfortunately some of our images are hosted on Rackspace on
http:// and haven’t been migrated to
https://, so I’m stuck trying to load these insecure images.
Any thoughts or suggestions?