You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2014/10/30 20:29:34 UTC
[jira] [Created] (CB-7912) Update FileTransfer plugin to handle
whitelist plugins
Ian Clelland created CB-7912:
--------------------------------
Summary: 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org