You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2013/10/24 02:54:41 UTC
[jira] [Created] (CB-5191) Deprecate
Andrew Grieve created CB-5191:
---------------------------------
Summary: Deprecate <url-filter>
Key: CB-5191
URL: https://issues.apache.org/jira/browse/CB-5191
Project: Apache Cordova
Issue Type: Bug
Components: Android
Reporter: Andrew Grieve
Assignee: Andrew Grieve
Priority: Minor
For the onOverrideUrlLoading() function to be called on a plugin, it must have a <url-filter> in it's <feature> tag.
This is an undocumented quirk, and I don't think it has any benefit. In order not to break existing plugins that rely on it though, I'm going to:
1. If a plugin does have a url-filter, show a deprecation message and still apply the filtering before calling its onOverrideUrlLoading() function.
2. If a plugin does not have a url-filter, then always call its onOverrideUrlLoading() function.
--
This message was sent by Atlassian JIRA
(v6.1#6144)