[
https://issues.apache.org/jira/browse/CB-2434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Grieve resolved CB-2434.
-------------------------------
Resolution: Duplicate
> Add [CommandDelegate resolveUrl] method
> ---------------------------------------
>
> Key: CB-2434
> URL: https://issues.apache.org/jira/browse/CB-2434
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Reporter: Andrew Grieve
> Assignee: Andrew Grieve
> Priority: Minor
>
> Many APIs accept URLs as parameters. We should have a helper to turn these
> into absolute URLs so that each API doesn't need to.
> e.g.: [CDVSound urlForResource:]
> Note that this function supports document:// URLs, which are not documented
> anywhere. We should fix CB-285 and deprecate document:// URLs.
> Other possible URL is asset-library://. Not sure if we should include this in
> the helper (e.g. by exposing getDataForUrl). Or just ignore it...
--
This message was sent by Atlassian JIRA
(v6.1#6144)