You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2013/08/02 06:09:48 UTC

[jira] [Created] (CB-4486) iOS plugins should be able to override URL loading

Ian Clelland created CB-4486:
--------------------------------

             Summary: iOS plugins should be able to override URL loading
                 Key: CB-4486
                 URL: https://issues.apache.org/jira/browse/CB-4486
             Project: Apache Cordova
          Issue Type: Improvement
          Components: iOS
    Affects Versions: 3.0.0
            Reporter: Ian Clelland
            Assignee: Ian Clelland


Android plugins have had the ability to override URL loading since approximately forever. We'd like to provide iOS plugins with the same abilities.

By modifying {{[CDVViewController webView:shouldOverrideLoadWithRequest:navigationType:]}} to first iterate over all plugins, seeing if any of them implement a method to handle the URL, and then presenting the request to each of them in turn, we can allow plugins to intercept and modify or block specific URL requests.

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