[
https://issues.apache.org/jira/browse/CB-4486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ian Clelland updated CB-4486:
-----------------------------
Description:
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:shouldStartLoadWithRequest: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.
was:
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.
> 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:shouldStartLoadWithRequest: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