mirror of
https://github.com/apache/cordova-plugin-file-transfer.git
synced 2026-06-05 00:00:35 +08:00
Fix NoSuchMethodException looking up cookies.
This commit is contained in:
@@ -220,7 +220,7 @@ public class FileTransfer extends CordovaPlugin {
|
||||
try {
|
||||
Method gcmMethod = webViewClass.getMethod("getCookieManager");
|
||||
Class iccmClass = gcmMethod.getReturnType();
|
||||
Method gcMethod = iccmClass.getMethod("getCookie");
|
||||
Method gcMethod = iccmClass.getMethod("getCookie", String.class);
|
||||
|
||||
cookie = (String)gcMethod.invoke(
|
||||
iccmClass.cast(
|
||||
|
||||
Reference in New Issue
Block a user