mirror of
https://github.com/silkimen/cordova-plugin-advanced-http.git
synced 2024-10-07 01:32:12 +08:00
#7 android: acceptAllCerts doesn't call callbacks
This commit is contained in:
parent
125248c267
commit
1c1f716cf8
@ -83,6 +83,7 @@ public class CordovaHttpPlugin extends CordovaPlugin {
|
||||
} else if (action.equals("acceptAllCerts")) {
|
||||
boolean accept = args.getBoolean(0);
|
||||
CordovaHttp.acceptAllCerts(accept);
|
||||
callbackContext.success();
|
||||
} else if (action.equals("setHeader")) {
|
||||
String header = args.getString(0);
|
||||
String value = args.getString(1);
|
||||
|
Loading…
Reference in New Issue
Block a user