#7 android: acceptAllCerts doesn't call callbacks

This commit is contained in:
Eddy Verbruggen
2015-07-28 11:00:20 -03:00
committed by Denis Babineau
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);