Compare commits

...
5 Commits
Author SHA1 Message Date
Andrew Stephan 99683f1f30 1.0.3 2016-04-26 15:23:21 -04:00
Andrew Stephan e9070461c1 updated version in plugin.xml 2016-04-26 15:23:15 -04:00
Andrew Stephan 04fdbed1fb 1.0.2 2016-03-03 10:56:20 -05:00
Andrew Stephan 3aab872ec0 1.0.1 2016-03-03 10:55:33 -05:00
Andrew Stephan b2e7878da4 fixes for useBasicAuth and setHeader for angular use 2016-03-03 10:55:09 -05:00
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-http",
"version": "1.0.0",
"version": "1.0.3",
"description": "Cordova / Phonegap plugin for communicating with HTTP servers using SSL pinning",
"cordova": {
"id": "cordova-plugin-http",
+1 -1
View File
@@ -2,7 +2,7 @@
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-http"
version="0.2.0">
version="1.0.3">
<name>SSL Pinning</name>
+6 -2
View File
@@ -137,8 +137,12 @@ if (typeof angular !== "undefined") {
var cordovaHTTP = {
getBasicAuthHeader: http.getBasicAuthHeader,
useBasicAuth: http.useBasicAuth,
setHeader: http.setHeader,
useBasicAuth: function(username, password) {
return http.useBasicAuth(username, password);
},
setHeader: function(header, value) {
return http.setHeader(header, value);
},
enableSSLPinning: function(enable) {
return makePromise(http.enableSSLPinning, [enable]);
},