cordova-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CB-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14190674#comment-14190674
] 

ASF subversion and git services commented on CB-7912:
-----------------------------------------------------

Commit e17e8f01f587a7786af9e2336316291a69b54542 in cordova-plugin-file-transfer's branch refs/heads/unplug-whitelist
from [~iclelland]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;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: 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


Mime
View raw message