cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-11004) Wkwebviewengine can't load the file from file:// under IOS 9.3
Date Fri, 08 Apr 2016 06:51:26 GMT

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

Jimmy commented on CB-11004:
----------------------------

HI Aron,I just switch to another plugin com.telerik.plugins.wkwebview, it works.And the file
URI should be after installing the plugin, I needed to use the /Library/ or /Documents/ as
the root, rather than cordova.file.dataDirectory. 
e.g. ng-src="/Documents/images/{{imageName}}"

> 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


Mime
View raw message