626 Commits

Author SHA1 Message Date
Tobias Becht
08ec3203e9 feat: response object on file download 2022-02-01 14:56:33 +01:00
Alexander Grünewald
9684c03685 Update cordova-http-plugin.js 2022-01-03 08:00:04 +01:00
YushraJewon
8f3cfb11d0 forking reason in readme 2021-12-17 14:38:46 +04:00
d48512c8df package name 2021-12-16 23:18:11 +04:00
ee2d727c2b rename symbol 2021-12-16 23:09:55 +04:00
0ae3756a74 remove duplicate symbol of afnetworking 2021-12-16 18:49:57 +04:00
Alexander Grünewald
935e7d6ba3 [Browser] Fixing error propagation in setHeaders
If the headers contain certain special characters (€, “, ≠, ∑, †, Ω etc..), calling the setHeaders method will throw an "Value is not a valid ByteString" error which unfortunately is neither propagated to the caller of the http-plugin, nor is the xhr request cancelled in this case.

By wrapping the setHeader-call into a try/catch, and fail the xhr request in case of an error, we make sure the caller of the http-plugin will receive a proper error and the xhr request gets canceled.
2021-11-30 17:04:50 +01:00
Sefa Ilkimen
5b8f20e1c4 release v3.2.2 v3.2.2 2021-10-15 15:12:50 +02:00
Sefa Ilkimen
b3b97306f4 fix: #438 requests not working correctly on browser platform 2021-10-15 14:49:34 +02:00
Jaroslav Pavlicek
6a9a22f81e Added support for intermediate certificates on iOS 2021-09-14 11:42:01 +02:00
Sefa Ilkimen
b20faa9c3c release v3.2.1 v3.2.1 2021-09-09 16:34:33 +02:00
Sefa Ilkimen
d66b4b7645 fix: vulnerable npm dependecies 2021-09-09 16:29:46 +02:00
Sefa Ilkimen
fb77849d10 docu: update Travis CI badge 2021-09-09 14:54:03 +02:00
Sefa Ilkimen
e2919e51e1 fix: missing break statement in public-interface leads to broken upload and download function 2021-09-09 14:32:44 +02:00
Sefa Ilkimen
ad1d500eae - docu: list known issues
- test: disable `abort` tests
2021-09-09 13:16:07 +02:00
moshe_ch
36d7e1813c Add "No connection" error response with status code -6 2021-08-26 01:04:22 +03:00
Sefa Ilkimen
1bafe6cdd9 fix: compile error in fix #404 2021-08-20 05:01:39 +02:00
Sefa Ilkimen
1dd5ee59c8 Merge branch 'YouYue123-setTimeout' 2021-08-20 04:38:52 +02:00
Sefa Ilkimen
6f68aab736 Merge branch 'setTimeout' of https://github.com/YouYue123/cordova-plugin-advanced-http into YouYue123-setTimeout
# Conflicts:
#	README.md
#	src/android/com/silkimen/cordovahttp/CordovaHttpBase.java
#	src/android/com/silkimen/cordovahttp/CordovaHttpDownload.java
#	src/android/com/silkimen/cordovahttp/CordovaHttpOperation.java
#	src/ios/CordovaHttpPlugin.m
#	www/public-interface.js
2021-08-20 04:37:49 +02:00
Sefa Ilkimen
c2a2ebc31b chore: test on another device 2021-08-20 03:47:23 +02:00
Sefa Ilkimen
c9bff478d8 chore: update changelog 2021-08-20 03:41:35 +02:00
Sefa Ilkimen
9ff32f1892 Merge pull request #422 from meiram-tr/master
Replacing AFNewtworking files and classes names to prevent conflicts with the real pod library
2021-08-20 03:38:13 +02:00
Sefa Ilkimen
16ac763a2a fix: #425 plugin crashes on Android SDK levels < 24 2021-08-20 03:29:21 +02:00
Sefa Ilkimen
80315156ad chore: test on another device 2021-08-19 19:13:10 +02:00
Sefa Ilkimen
5499f2a8b8 chore: test on another device 2021-08-19 19:07:25 +02:00
Sefa Ilkimen
9d870e7748 chore: disable network logging on browserstack 2021-08-08 14:52:06 +02:00
Sefa Ilkimen
b6a8acd25b release v3.2.0 v3.2.0 2021-07-26 01:22:31 +02:00
Meir Amar
c2a0317b8f replacing AFNewtworking file and classes names to prevent conflicts with the real AFNetworking pod 2021-07-25 14:59:57 +03:00
Sefa Ilkimen
0ccf64e289 chore: add workaround for missing DX files in build-tools 31 2021-07-22 15:40:38 +02:00
Sefa Ilkimen
986ddeefd4 chore: remove obsolete mipsel workaround 2021-07-22 14:36:34 +02:00
Sefa Ilkimen
67c2c733f5 chore: enable network logging on browserstack 2021-07-15 15:34:34 +02:00
Sefa Ilkimen
d077d02062 Merge pull request #421 from silkimen/feat/#420-implement-blacklist-to-disable-TLS-protocols-on-Android
feat: #420 implement blacklist to disable unsafe SSL/TLS protocol ver…
2021-07-15 14:35:24 +02:00
Sefa Ilkimen
060794354d docu: add docu for secure socket protocol blacklisting 2021-07-15 14:19:10 +02:00
Sefa Ilkimen
4ebd259c7e Merge branch 'feat/#420-implement-blacklist-to-disable-TLS-protocols-on-Android' of https://github.com/silkimen/cordova-plugin-advanced-http into feat/#420-implement-blacklist-to-disable-TLS-protocols-on-Android 2021-07-15 12:53:39 +02:00
Sefa Ilkimen
bbd4cf01ab refactor: apply review feddback 2021-07-15 12:53:12 +02:00
Sefa Ilkimen
7eb3395aa4 Update test/e2e-specs.js
Co-authored-by: Robin Hartmann <contact.robin.hartmann@gmail.com>
2021-07-15 12:38:09 +02:00
Sefa Ilkimen
05abdfcd91 Update CHANGELOG.md
Co-authored-by: Robin Hartmann <contact.robin.hartmann@gmail.com>
2021-07-15 12:36:10 +02:00
Sefa Ilkimen
bda4eedfb9 feat: #420 implement blacklist to disable unsafe SSL/TLS protocol versions on Android 2021-07-15 04:00:35 +02:00
Sefa Ilkimen
9d6005af29 - chore: implement new test reporter to see more details on failed tests
- fix: fix broken e2e tests on Android 8+
2021-07-15 03:14:46 +02:00
Sefa Ilkimen
94126b9021 release v3.1.1 v3.1.1 2021-07-07 12:41:00 +02:00
Sefa Ilkimen
007d5c609f chore: reduce false positives in e2e tests 2021-07-07 05:07:34 +02:00
Sefa Ilkimen
badf6dcdc2 fix: #372 [Bug] Android: malformed empty multipart requests 2021-07-07 03:16:43 +02:00
Sefa Ilkimen
c081060a9e fix: broken e2e tests caused by wrong plugin entries in app template 2021-07-07 03:15:21 +02:00
Sefa Ilkimen
2ce130133c - chore: update Travis CI badge
- chore: update Travis CI Xcode image version
2021-07-06 22:40:58 +02:00
Sefa Ilkimen
cfcc572ca0 chore(CI): remove slack integration 2021-07-06 19:08:54 +02:00
Moon
7c1836e87f Set default connectTimeout and readTimeout as 60s 2021-03-25 00:02:29 +08:00
Moon
87ddbbe3b1 Update test case description 2021-03-25 00:01:46 +08:00
Sefa Ilkimen
d7688b485d fix: e2e test returns false positive due to test timing (request finished to early) 2021-03-24 06:54:59 +01:00
Sefa Ilkimen
81ba667e37 fix: broken e2e spec 2021-03-24 06:43:42 +01:00
Sefa Ilkimen
5ad1967b46 Merge branch 'master' of https://github.com/silkimen/cordova-plugin-advanced-http 2021-03-24 06:24:39 +01:00