I had updated the targetSdkVersion in my build gradle to 28 and the library just keeps crashing my app.
Why is this happening, and what is the workaround for this can someone please assist or fix this issue.
same here
I had the same issue. Had to change the build.grade file in my node_modules folder. The steps are:
- Go to your ~node_modules/react-native-background-upload/android/build.gradle
- change minSdk version to 18
- Change the dependencies for the uploadservice from 3.4.2 to 3.5.0
- Run react-native run-android
You have to repeat these steps everytime you run npm/yarn. I haven't had time to find a solution to this but I'll do a PR if all else fails.
@Zabi-Progton @bcutler94 thanks for reporting the issue.
@teeolendo Much appreciated for posting that solution. PR would be welcome if you have time to submit one!
Submitted!
@Zabi-Progton and @bcutler94 if you get a chance please test out @teeolendo's branch and let us know if that solved your problem.
@TSMMark worked for me
I'm running into this same issue with the crashing. Is the current solution still to install the other branch?
@dbirchfield80 What I did was I removed the folder from node_modules to my root and made the changes myself, it works normally now but I won't be getting new updates in the future until this bug PR is merged.
Fork and Change the dependencies for the uploadservice from 3.4.2 to 3.5.2 no problem on 7 and 9...