Skip to content

Commit 3897e14

Browse files
Ron RadtkeRon Radtke
authored andcommitted
Update:
* Adding proper build.gradle for android studio * Fixed okhttp version (closes #28), now it should work with Android 5 again too * Fixes crashes in getExternalFilesDir
1 parent 771d133 commit 3897e14

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Both the original repository and its first fork are not maintianed anymore.
88

99
The project will be continnued in this repository. React-Native-Blob-Util is fully compatible to RN-Featch-Blob and React-Native-Fetch-Blob. If you want to support the project feel free to contact me or create a pull request with your feature.
1010
# Version Compatibility Warning
11-
react-native-blob-util version 0.10.16 is only compatible with react native 0.60 and up. It should have been a major version bump, we apologize for the mistake. If you are not yet upgraded to react native 0.60 or above, you should remain on react-native-blob-util version 0.10.15
11+
react-native-blob-util version 0.10.16 and up is only compatible with react native 0.60 and up.
1212

1313
## Features
1414
- Transfer data directly from/to storage without BASE64 bridging

android/build.gradle

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

5757
dependencies {
5858
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
59-
implementation 'com.squareup.okhttp3:okhttp:+'
60-
implementation 'com.squareup.okhttp3:logging-interceptor:+'
61-
implementation 'com.squareup.okhttp3:okhttp-urlconnection:+'
62-
// {ReactNativeBlobUtil_PRE_0.28_DEPDENDENCY}
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.+'
6362
}
6463

6564
def configureReactNativePom(def pom) {

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-blob-util",
3-
"version": "0.13.6",
3+
"version": "0.13.7",
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": {
@@ -24,7 +24,10 @@
2424
"repository": {
2525
"url": "https://github.com/RonRadtke/react-native-blob-util"
2626
},
27-
"author": "RonRadtke",
27+
"author": {
28+
"name": "RonRadtke",
29+
"username": "RonRadtke"
30+
},
2831
"license": "MIT",
2932
"contributors": [
3033
"Traviskn <>",

0 commit comments

Comments
 (0)