Open Saliheen opened 2 months ago
+1
I resolved this with:
Then you can patch the package with this modification, to make it even if you run "yarn install"
I resolved this with:
- Go to node_modules/react-native-background-upload/android/build.gradle and make following changes:
- Change: apply plugin: 'kotlin-android-extensions' -> apply plugin: 'kotlin-parcelize'
Then you can patch the package with this modification, to make it even if you run "yarn install"
For some reason this didn't work for me, but changing the following lines in node_modules/react-native-background-upload/android/build.gradle
did.
FAILURE: Build failed with an exception.
What went wrong: The Android Gradle plugin supports only kotlin-android-extensions Gradle plugin version 1.6.20 and higher. The following dependencies do not satisfy the required version: project ':react-native-background-upload' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.0
Try: