Andrew Grieve created CB-2434:
---------------------------------

             Summary: 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
             Fix For: 2.5.0


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to