Skip to content

Commit 7325b4a

Browse files
Ron RadtkeRon Radtke
authored andcommitted
removing okhttp from dependencies (RN0.66 no longer uses jcenter in general)
1 parent dc40abf commit 7325b4a

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ After `0.10.3` you can install this package directly from Github
8181
# replace <branch_name> with any one of the branches
8282
npm install --save github:RonRadtke/react-native-blob-util#<branch_name>
8383
```
84+
**Okhttp**
85+
86+
For using the library okhttp3 is required. It's in general included in react-native.
87+
The library uses the okhttp version shipped with react-native or used by your app.
88+
For very old devices android devices okhttp 3.12 can be used.
8489

8590
**Manually Link Native Modules**
8691

android/build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ android {
5656

5757
dependencies {
5858
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
59-
implementation 'com.squareup.okhttp3:okhttp:3.12.+'
60-
implementation 'com.squareup.okhttp3:logging-interceptor:3.12.+'
61-
implementation 'com.squareup.okhttp3:okhttp-urlconnection:3.12.+'
6259
}
6360

6461
def configureReactNativePom(def pom) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-blob-util",
3-
"version": "0.13.12",
3+
"version": "0.13.13",
44
"description": "A module provides upload, download, and files access API. Supports file stream read/write for process large files.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)