Skip to content

Commit 621fe87

Browse files
author
Sefa Ilkimen
committed
- expose "getCookieString" method
- update version number
1 parent b9bc1b0 commit 621fe87

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

.editorconfig

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
1-
21
# EditorConfig helps developers define and maintain consistent
32
# coding styles between different editors and IDEs
43
# editorconfig.org
54

65
root = true
76

8-
97
[*]
10-
118
# Change these settings to your own preference
129
indent_style = space
13-
indent_size = 4
10+
indent_size = 2
1411

1512
# We recommend you to keep these unchanged
1613
end_of_line = lf
@@ -19,4 +16,4 @@ trim_trailing_whitespace = true
1916
insert_final_newline = true
2017

2118
[*.md]
22-
trim_trailing_whitespace = false
19+
trim_trailing_whitespace = false

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v1.9.0
4+
5+
- Feature #44: "getCookieString" method is exposed
6+
37
## v1.8.1
48

59
- Fixed #27: "uploadFile" method doesn't return data object on iOS (thanks Faisalali23 and laiyinjie)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-plugin-advanced-http",
3-
"version": "1.8.1",
3+
"version": "1.9.0",
44
"description": "Cordova / Phonegap plugin for communicating with HTTP servers using SSL pinning",
55
"scripts": {
66
"testandroid": "./scripts/build-test-app.sh --android --emulator && ./scripts/test-app.sh --android --emulator",

www/advanced-http.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@ var http = {
177177
removeCookies: function (url, callback) {
178178
cookieHandler.removeCookies(url, callback);
179179
},
180+
getCookieString: function (url) {
181+
return cookieHandler.getCookieString(url);
182+
},
180183
setRequestTimeout: function(timeout) {
181184
this.timeoutInSeconds = timeout;
182185
},

0 commit comments

Comments
 (0)