Skip to content

Commit b8ec184

Browse files
committed
added min sdk stuff to README
1 parent a7d2ef9 commit b8ec184

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,13 @@ The only React Native http post file uploader with android and iOS background su
4747
}
4848
```
4949
50+
4. Ensure Android SDK versions. Open your app's `android/app/build.gradle` file. Ensure `compileSdkVersion` and `targetSdkVersion` are 25. Otherwise you'll get compilation errors.
51+
52+
5053
## BREAKING CHANGE IN 2.0
51-
The Android package name had to be changed, as it conflicted with our own internal app. My bad. The fix is so easy though:
54+
Two big things happened in version 2.0. First, thehe Android package name had to be changed, as it conflicted with our own internal app. My bad. Second, we updated the android upload service dependency to the latest, but that requires the app have a compileSdkVersion and targetSdkVersion or 25.
55+
56+
To upgrade:
5257
In `MainApplication.java`:
5358
5459
Change
@@ -63,6 +68,9 @@ to
6368
import com.vydia.RNUploader.UploaderReactPackage;
6469
```
6570
71+
Then open your app's `android/app/build.gradle` file.
72+
Ensure `compileSdkVersion` and `targetSdkVersion` are 25.
73+
6674
Done!
6775
6876
## Usage

0 commit comments

Comments
 (0)