Vydia / react-native-background-upload

Upload files in your React Native app even while it's backgrounded. Supports Android and iOS, including camera roll assets.
MIT License
730 stars 333 forks source link

Upgrade Kotlin version to 1.6 #314

Closed mdeoliveira-hw closed 1 year ago

mdeoliveira-hw commented 2 years ago

Summary

Upgrade kotlin version to mismatch version when build on RN > 0.69. It fixes the error of issue #309

Compatibility

OS Implemented
iOS
Android

Checklist

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 6.6.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

dylan-westbury commented 1 year ago

Hi,

It now expects version 1.6.20


* 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
slatqh commented 1 year ago

Confirm, it expecting 1.6.20

FAILURE: Build failed with an exception.

kiratheone commented 1 year ago

The latest AGP version requires a higher version of kotlin-android-extensions. Alternatively, you can consider downgrading for another option. I'm experiencing this issue too.