react-native-background-upload: The package crashes Android app version
Hello,
I’m developing a cross-platform application and the package is working on IOS but causes app crash on Android. The crash appears when I start the app. I assume that is something with my sdk version :
buildToolsVersion = "29.0.3" minSdkVersion = 21 compileSdkVersion = 29 targetSdkVersion = 29 supportLibVersion = "28.0.0" kotlinVersion = "1.3.61"
For recat native I’m using "0.63.3.
Is there any chance to run use the package on this version?
Many thanks, Florin
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 3
- Comments: 15 (1 by maintainers)
The solution would be to force using the same version. Add the following before
dependenciesdeclaration inapp/build.gradle.Use 4.9.1 or whatever the latest version is at current time.
You shouldn’t have to be changing the flipper settings in the dependencies.
Mine work when having this with
rn 0.64.2bro, this worked for me! thanks! “react-native”: “0.65.1”
@petrbela should be fixed if you add both
implementation 'com.squareup.okhttp3:okhttp:4.3.0andimplementation 'com.squareup.okhttp3:okhttp:3.X.X(take the specific version from react-native)