cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CB-7912) Update FileTransfer plugin to handle whitelist plugins
Date Thu, 30 Oct 2014 19:33:34 GMT


ASF subversion and git services commented on CB-7912:

Commit e17e8f01f587a7786af9e2336316291a69b54542 in cordova-plugin-file-transfer's branch refs/heads/unplug-whitelist
from [~iclelland]
[;h=e17e8f0 ]

CB-7912: Update to work with whitelist plugins in Cordova 4.x

> Update FileTransfer plugin to handle whitelist plugins
> ------------------------------------------------------
>                 Key: CB-7912
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message