Sefa Ilkimen
d977392a49
- some cleanup
...
- deprecate "setSSLCertMode" in favor of "setServerTrustMode"
2019-04-05 16:26:04 +02:00
Sefa Ilkimen
8bdbf7ca78
fix query params handling for iOS
2019-04-03 14:28:12 +02:00
Sefa Ilkimen
0af726d8ce
align iOS error codes with Android error codes
2019-03-28 15:37:56 +01:00
Sefa Ilkimen
56272b9a5d
Update changelog
2019-03-11 13:59:17 +01:00
Sefa Ilkimen
8f859db57f
Merge branch 'master' of https://github.com/chrisjdev/cordova-plugin-advanced-http into chrisjdev-master
2019-03-11 11:34:10 +01:00
Sefa Ilkimen
807400bc63
Fix #185 : need more detailed SSL error message
2019-02-22 19:20:12 +01:00
Sefa Ilkimen
a195de409d
Fix #172 : plugin does not respect user installed CA certs on Android
2018-12-23 19:00:51 +01:00
Chris J
ebd6ae9793
Keep AFHTTPSessionManager instance with the plugin
...
Persist the AFHTTPSessionManager instance for the life of the plugin to allow reusing the underlying sockets, for example, with "Connection: keep-alive" headers.
2018-12-20 10:47:13 -05:00
Florian Leitmann
5919d90698
Merge remote-tracking branch 'upstream/master' into ios-networking-indicator
2018-05-31 17:29:12 +02:00
Sefa Ilkimen
96f45d7274
feature #103 : implement HTTP SSL cert modes
2018-05-27 19:30:42 +02:00
Florian Leitmann
cb597c0d30
Added SDNetworkActivityIndicator library and integrated it in plugin.xml definition as well as CordovaHttpPlugin.m
...
This library allows to show the network activity indicator on iOS devices, to indicate native networking
It uses a counter to hide the indicator depending on whether all request have been fulfilled or not
2018-05-27 12:45:52 +02:00
Sefa Ilkimen
1d5642c8ae
fix #83 : handle error during file download correctly on iOS
2018-02-27 14:50:30 +01:00
Raman Rasliuk
2dbf0d452a
App Crash on error body does not exists
...
Prevent crash if body does not exist on error
2018-02-27 12:04:37 +01:00
Sefa Ilkimen
53df68f154
fix #72 for iOS: support latin1 (iso-8859-1) encoded data
2018-02-13 15:03:05 +01:00
Sefa Ilkimen
c452b29433
WIP commit for iOS:
...
- failure handler gets called if an exception occurs in native code
- rename "raw" serializer to "utf8"
- extract serializer into separate file
2018-02-07 16:31:51 +01:00
Roberto Capuano
5d5a859cfc
added 'raw' serializer
2017-12-12 16:42:03 +01:00
Sefa Ilkimen
068b25b6f9
- fix #27 : "uploadFile" method doesn't return data object on iOS
...
- update version number
2017-11-03 15:51:19 +01:00
Sefa Ilkimen
292d726b20
- feature #33 : response object contains response url
...
- annotate tests with issue numbers
- refactor android source code
2017-11-02 14:59:53 +01:00
Sefa Ilkimen
a8f1d2b1c2
changed behaviour #29 : removed "validateDomainName" function and disabling it when "acceptAllCerts" is enabled
2017-10-19 16:24:54 +02:00
Sefa Ilkimen
8b4c6de4b9
implemented PATCH method for iOS
2017-10-02 12:29:55 +02:00
Martin Kasa
a4a6440bcb
Add global redirection control
...
copied from https://github.com/wymsee/cordova-HTTP/pull/137
2017-09-29 14:36:00 +02:00
Jochen Becker
a20821378b
- if a request timed out the same error codes are returned for iOS and Android
...
- updated change log
2017-08-14 17:05:44 +02:00
Jochen Becker
d84a222dda
- added function "setRequestTimeout" to set the timeout for all further requests and to prevent to "wait forever" on Android in case the server is not responding
...
- updated change log
- incremented version for release
2017-08-10 10:03:38 +02:00
Jochen Becker
14eef1ca66
- convert response header keys to lowercase (iOS only)
...
- updated change log
- incremented version for release
2017-05-31 08:50:13 +02:00
Sefa Ilkimen
d5b2cdaf60
implemented PUT and DELETE methods for Android and iOS
2016-11-14 13:56:54 +01:00
Sefa Ilkimen
4600fd0555
implemented configurable serializer for iOS
2016-11-11 01:33:29 +01:00
Andrew Stephan
60220a224b
updated AFNetworking and edited requests to send back the body for errors
2016-04-29 14:19:29 -04:00
Andrew Stephan
bcf6f6ed90
updated http request and removed some android code that is now in js. Fixed upload file in iOS
2016-02-23 12:48:40 -05:00
Andrew Stephan
c35af633a4
fixed some issues with responseSerializers and moved some functions out of obj-c into javascript
2016-02-19 17:13:48 -05:00
Andrew Stephan
340e45a381
Fixed ios code to work with AFNetwork 3.0.x
2016-02-18 20:31:21 -05:00
Denis Babineau
07e0195c91
add HEAD request support and return response headers for all request types both for success and failures.
2015-10-07 13:33:07 -03:00
Denis Babineau
141f996052
fix downloadFile method on ios; invalid native path and not using proper instance of CDVFile
2015-08-26 23:58:50 -03:00
Denis Babineau
cabb0db9de
acceptAllHosts can now be called on both platform.
2015-07-28 11:15:32 -03:00
Andrew Stephan
aa2ce13d9c
Now working for both ios and android with same api. Updated AFNetworking
2014-03-31 17:21:14 -04:00
Andrew Stephan
3f4b0b129c
renamed classes and files
2014-03-26 14:43:17 -04:00