cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <>
Subject [jira] [Created] (CB-5191) Deprecate <url-filter>
Date Thu, 24 Oct 2013 00:54:41 GMT
Andrew Grieve created CB-5191:

             Summary: Deprecate <url-filter>
                 Key: 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

View raw message