#7 android: acceptAllCerts doesn't call callbacks

This commit is contained in:
Eddy Verbruggen 2015-07-13 15:46:50 +02:00 committed by Denis Babineau
parent 125248c267
commit 1c1f716cf8

View File

@ -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);