[
https://issues.apache.org/jira/browse/CB-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ian Clelland resolved CB-7912.
------------------------------
Resolution: Fixed
Merged; will go out with next plugin release
> Update FileTransfer plugin to handle whitelist plugins
> ------------------------------------------------------
>
> Key: CB-7912
> URL: https://issues.apache.org/jira/browse/CB-7912
> Project: Apache Cordova
> Issue Type: Sub-task
> Components: Plugin File Transfer
> Reporter: Ian Clelland
> Assignee: Ian Clelland
>
> The Android code in FileTransfer which determines whether a file should be
> downloaded from the network relies on the removed CordovaWebview.getWhiteList
> method.
> In order to maintain compatibility with both 3.x and 4.x branches, some
> reflection is required. The WebView class is not guaranteed to use a
> Whitelist object, and so we shouldn't be looking for one specifically. There
> is a new method, "shouldAllowRequest", which should be used instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]