Github user agrieve commented on a diff in the pull request:
https://github.com/apache/cordova-android/pull/132#discussion_r19541221
--- Diff: framework/src/org/apache/cordova/CordovaUriHelper.java ---
@@ -37,11 +38,54 @@ public CordovaUriHelper(CordovaInterface cdv,
CordovaWebView webView)
appView = webView;
cordova = cdv;
}
-
+
+ /**
+ * Determine whether the webview should be allowed to navigate to a
given URL.
+ *
+ * This method implements the default whitelist policy when no plugins
override
+ * shouldAllowNavigation
+ */
+ public boolean shouldAllowNavigation(String url) {
--- End diff --
Should call this from AndroidBridge as well I think.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]