You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Trevor Brindle (JIRA)" <ji...@apache.org> on 2016/09/27 18:45:20 UTC

[jira] [Commented] (CB-11912) webview is unable to display downloaded images in iOS10

    [ https://issues.apache.org/jira/browse/CB-11912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15527068#comment-15527068 ] 

Trevor Brindle commented on CB-11912:
-------------------------------------

This sounds like a CSP/Content-Security-Policy issue.

Something like this in your index.html might help you:

{{<meta http-equiv="Content-Security-Policy" content="img-src * 'self' data:; default-src * 'self' gap: ; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; ">}}

Here is a good resource to read: [cordova-security-whitlists|https://taco.visualstudio.com/en-us/docs/cordova-security-whitlists/]

> webview is unable to display downloaded images in iOS10
> -------------------------------------------------------
>
>                 Key: CB-11912
>                 URL: https://issues.apache.org/jira/browse/CB-11912
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>         Environment: ios10, angularJS v1 is used and OnsenUI v1.3 too. I don't think te two last are related.
>            Reporter: Mathieu Gagnon
>              Labels: iOS10
>         Attachments: Capture du 2016-09-26 21-43-54.png, demoApp1.tar.gz
>
>
> Safari console show than img are downloaded.
> img is never display, only a '?'  icon.
> works on ios9 but not ios10



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org