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

zhuisui edited comment on CB-11305 at 5/25/16 12:13 PM:
--------------------------------------------------------

I agree with you. Maybe we need a generic fs root mapped to 
"cordova.file.applicationDirectory". So before I send a PR, I think we should 
consider it more.
Also, I touched Cordova and Android before less than two weeks. I am afraid I 
cannot qualified for this job.
Finally, you mention that "image.toInternalURL()" works well on Android if I 
don't mistake. Then, I'm interested in what it is really like. I will see it 
another day.

[~daserge] Could you tell me how to use MarkDown here?


was (Author: zyf0330):
I agree with you. Maybe we need a generic fs root mapped to 
`cordova.file.applicationDirectory`. So before I send a PR, I think we should 
consider it more.
Also, I touched Cordova and Android before less than two weeks. I am afraid I 
cannot qualified for this job.
Finally, you mention that `image.toInternalURL()` works well on Android if I 
don't mistake. Then, I'm interested in what it is really like. I will see it 
another day.

> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to