cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Superdev (JIRA)" <>
Subject [jira] [Created] (CB-11827) Failed to load resource with cdvfile URL on IOS
Date Thu, 08 Sep 2016 16:25:20 GMT
Superdev created CB-11827:

             Summary: Failed to load resource with cdvfile URL on IOS
                 Key: CB-11827
             Project: Apache Cordova
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Plugin File
    Affects Versions: 6.1.1, 6.3.1
            Reporter: Superdev

In my meteor app, I use cordova-file-plugin to cache images (ImgCache). All pictures are downloaded
and saved in persistent storage. When the app load the image from cdvfile url (cdvfile://imgcache/mypicture.png)
I got the error : "Failed to load resource: unsupported URL"

The same application works without any problem on Android.

This is the white-list configuration and CORS :
    <allow-intent href="tel:*" />
    <allow-intent href="geo:*" />
    <allow-intent href="mailto:*" />
    <allow-intent href="sms:*" />
    <allow-intent href="market:*" />
    <allow-intent href="itms:*" />
    <allow-intent href="itms-apps:*" />
    <allow-navigation href="http://localhost" />
    <allow-navigation href="*" />
    <access origin="*" />

<meta http-equiv="Content-Security-Policy" content="default-src * cdvfile: filesystem:
file: data: ; style-src 'self' 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval';
media-src *">

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message