cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-4486) iOS plugins should be able to override URL loading
Date Fri, 02 Aug 2013 04:09:48 GMT
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

Mime
View raw message