Skip to content

Commit

Permalink
Update:
Browse files Browse the repository at this point in the history
* removing okhttp3 from dependencies (RN0.66 no longer uses jcenter in general)

Fixes RonRadtke#65

Merge remote-tracking branch 'origin/develop'
  • Loading branch information
Ron Radtke authored and Ron Radtke committed Sep 23, 2021
2 parents 7f82a51 + 7325b4a commit a3b8178
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ After `0.10.3` you can install this package directly from Github
# replace <branch_name> with any one of the branches
npm install --save github:RonRadtke/react-native-blob-util#<branch_name>
```
**Okhttp**

For using the library okhttp3 is required. It's in general included in react-native.
The library uses the okhttp version shipped with react-native or used by your app.
For very old devices android devices okhttp 3.12 can be used.

**Manually Link Native Modules**

Expand Down
3 changes: 0 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ android {

dependencies {
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
implementation 'com.squareup.okhttp3:okhttp:3.12.+'
implementation 'com.squareup.okhttp3:logging-interceptor:3.12.+'
implementation 'com.squareup.okhttp3:okhttp-urlconnection:3.12.+'
}

def configureReactNativePom(def pom) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-blob-util",
"version": "0.13.14",
"version": "0.13.15",
"description": "A module provides upload, download, and files access API. Supports file stream read/write for process large files.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit a3b8178

Please sign in to comment.