You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### The definitive way to hit HTTP based APIs in Nativescript.
18
4
19
5
Easily integrate the most reliable native networking libraries with the latest and greatest HTTPS security features.
20
6
7
+
> Android: version 4.x using okhttp 4.x changing minSDKVersion to 21! If lower needed stick to 3.x
8
+
21
9
> Plugin version 2.0.0 bumps `AFNetworking` on iOS to [4.0.0](https://github.com/AFNetworking/AFNetworking/releases/tag/4.0.0) which no longer relies on `UIWebView`. Make sure to run `pod repo update` to get the latest `AFNetworking` pod on your development machine.
22
10
23
-
#### A drop-in replacement for the [default http module](https://docs.nativescript.org/cookbook/http#get-response-status-code).
11
+
#### A drop-in replacement for the [default http module](https://docs.nativescript.org/cookbook/http).
24
12
25
13
## Features
26
14
@@ -44,29 +32,9 @@ Easily integrate the most reliable native networking libraries with the latest a
44
32
45
33
**No.** This plugin works out of the box without any security configurations needed. Either way you'll still benefit from all the features listed above.
We also recommend adding `"skipLibCheck": true,` to your `tsconfig.json`.
66
-
More information on that can be found [here](https://github.com/NativeScript/NativeScript/tree/master/tns-platform-declarations).
67
-
68
-
Install the plugin:
69
-
70
38
```bash
71
39
tns plugin add @nativescript-community/https
72
40
```
@@ -227,3 +195,12 @@ then pass the option `allowLargeResponse` with value `true` to the `request` fun
227
195
|[Robert Laverty](https://github.com/roblav96)| For creating and maintaining this plugin for a long time, before transfering it to me, with the help of Jeff Whelpley of [GetHuman](https://github.com/gethuman). |
228
196
|[AFNetworking](https://github.com/AFNetworking)|[AFNetworking](https://github.com/AFNetworking/AFNetworking) A delightful networking framework for iOS, OS X, watchOS, and tvOS. |
229
197
|[Square](http://square.github.io/)|[okhttp](https://github.com/square/okhttp) An HTTP+HTTP/2 client for Android and Java applications. |
0 commit comments