Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.