-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kotlin version is not compatible with latest Expo SDK v48 when building in EAS #103
Comments
When changing the version of react-native-crisp-chat-sdk from 0.11.1 to 0.13.0 (and only doing this change to my project), I get the following error from EAS build (or local build) :
|
The patch-package to make it work with version 0.13.0 :
|
What patch file name did you use for the file? |
the generated patch file name ? |
There is no kotlinVersion globally defined in your project? |
Hello, On a fresh install of RN, I have this error when building android:
Possible to fix it without patching? |
What RN version? It could be a grade related problem |
It's the version 0.71.5 |
@baptistejamin I'm coming back with the same error, when I try to build android app with the last RN version (without expo, don't hesitate to tell me if you prefer a new issue): * What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':react-native-crisp-chat-sdk' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50 If I try to set the kotlin version with the project level build.gradle: buildscript {
ext {
...
kotlinVersion = "1.5.20"
}
... I get lot of error of this style: .../node_modules/react-native-crisp-chat-sdk/android/src/main/java/com/reactnativecrispchatsdk/CrispChatSdkModule.kt: (32, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1. |
By setting in the project level build.gradle, it's working! kotlinVersion = "1.6.0" |
Thank you all for your help! A new version was released and the problem is now solved |
Hi! 馃憢
Firstly, thanks for your work on this project! 馃檪
Today I used patch-package to patch
react-native-crisp-chat-sdk@0.11.1
for the Expo project I'm working on.(later versions are even more broke in EAS)
When I run an EAS build, I get the following error :
I have used the Build properties config plugin from Expo, but changing the kotlin version to 1.3.50 is prevented by the plugin (version 1.3.50 is too low, minimum allowed 1.6.10).
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
My changes are probably inadequates (shortcuts have been taken), but the intented effect is positive.
Do you plan on updating this version in the near future ?
Thanks :)
The text was updated successfully, but these errors were encountered: