You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Aron Barocsi (JIRA)" <ji...@apache.org> on 2016/04/06 16:46:25 UTC
[jira] [Comment Edited] (CB-11004) Wkwebviewengine can't load the
file from file:// under IOS 9.3
[ https://issues.apache.org/jira/browse/CB-11004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228375#comment-15228375 ]
Aron Barocsi edited comment on CB-11004 at 4/6/16 2:46 PM:
-----------------------------------------------------------
+1 here
iOS 9.3.
When I try to load a file from cordova-plugin-camera it resolves file uri as
file:///Users/macmini/Library/Developer/CoreSimulator/Devices/9B728865-FB85-4099-AFDA-E11D74A20C54/data/Containers/Data/Application/8C93D448-8BC2-4B3D-B883-FA230ACC7985/tmp/cdv_photo_006.jpg
and then instantly says
"Cross-origin image load denied by Cross-Origin Resource Sharing policy."
was (Author: aron.barocsi@gmail.com):
+1 here
iOS 9.3.
When I try to load a file from cordova-plugin-camera it resolves file uri as
file:///Users/macmini/Library/Developer/CoreSimulator/Devices/9B728865-FB85-4099-AFDA-E11D74A20C54/data/Containers/Data/Application/8C93D448-8BC2-4B3D-B883-FA230ACC7985/tmp/cdv_photo_006.jpg
and then instantly
Cross-origin image load denied by Cross-Origin Resource Sharing policy.
> Wkwebviewengine can't load the file from file:// under IOS 9.3
> --------------------------------------------------------------
>
> Key: CB-11004
> URL: https://issues.apache.org/jira/browse/CB-11004
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin WKWebViewEngine
> Environment: ios9.3
> Reporter: Jimmy
> Labels: iOS, triaged
>
> https://github.com/apache/cordova-plugin-wkwebview-engine ,ther readme told that the file:// bug has been fixed under ios9,But unfortunately ,I still can't load file from file:// protocol ,my image file was saved under 'Documents' folder ,I just use '<img src="file://xx/xx/Documents/image.jpg">' , but didnt work ,should i use https://github.com/apache/cordova-plugins/tree/master/wkwebview-engine-localhost to start a server?
--
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