cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Banaszak (JIRA)" <>
Subject [jira] [Created] (CB-9095) Ability to intercept Navigation
Date Fri, 29 May 2015 11:33:17 GMT
Tobias Banaszak created CB-9095:

             Summary: Ability to intercept Navigation
                 Key: CB-9095
             Project: Apache Cordova
          Issue Type: New Feature
          Components: Plugin InAppBrowser
    Affects Versions: 3.5.0
         Environment: All Cordova versions
            Reporter: Tobias Banaszak

On iOS, there is a delegate method that gets called if the user tapped on a link:
- (BOOL) webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType

Implementing this method, you can decide whether the WebView should follow the URL/Request
or not by returning YES or NO. This way, you can handle special schemes or some special URLs.

I've been looking for this function in InAppBrowser but couldn't find anything that gives
same functionality. Is it by design, or would you consider implementing this feature?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message