cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhuisui (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-11305) use cdvfile: cannot import image or js
Date Thu, 26 May 2016 01:04:14 GMT

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

zhuisui edited comment on CB-11305 at 5/26/16 1:04 AM:
-------------------------------------------------------

thanks for the text effects.
About ^toInternalURL^, I know it. I just don't know what it returns in this
situation. If it is effective as cdvfile protocol, why can't put it into
src of img directly.


was (Author: zyf0330):
thanks for the text effects.
About {code:javascript}toInternalURL{code}, I know it. I just don't know what it returns in
this
situation. If it is effective as cdvfile protocol, why can't put it into
src of img directly.

> use cdvfile: cannot import image or js
> --------------------------------------
>
>                 Key: CB-11305
>                 URL: https://issues.apache.org/jira/browse/CB-11305
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: 6.2.0
>         Environment: cordova 6.6.1
> android 5.1.1
>            Reporter: zhuisui
>              Labels: android, reproduced, triaged, wfc
>
> I use cdvfile://localhost/assets/path to show img and import js, and it doesn't work.
I haven't seen anything about using with assets, but window.resolveLocalFileSystemURL can
handle it to native URL file:///android_asset/path, so I think it should be normal as expected.
> And I didn't test about cdvfile://localhost/temporary|persistent.
> And, I use cordova-cli 6.6.1, but it is not in "Affects Version/s".



--
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