-
Notifications
You must be signed in to change notification settings - Fork 93
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Build error in version 0.7.2 with react-native 0.74.4 and kotlin 1.9 #403
Comments
same error here |
same error here |
@Thinhnguyen185 if you want a quick fix, you can fork the lib and then upgrade the react-native to |
I was able to build this in Android Studio with no issues. However, I'm merging #399 and moving |
Hoping |
Thank you @boorad for the fix! It works for me now with 0.7.3. |
What's happening?
After upgrading react-native-quick-crypto to 0.7.2 I was not able to build my app anyomore in android. My app uses react-native 0.74.4.
The build failed with:
When I add the kotlin version explicitely in the android/build.gradle like so:
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
I get tons of errors like
I was confused about who is expecting kotlin 1.7 in my app since I'm using react-native 0.74.4 and react-native itself upgraded to kotlin 1.9 in RN 0.74. I found out that react-native-quick-crypto brings react-native 0.72.7 into my app which uses kotlin 1.7, which is then picked up and brings the build errors.
Downgrading react-native-quick-crypto to 0.7.1 solves the issue for me since react-native 0.72.7 was only added as a dependency in 0.7.2.
Reproducible Code
Relevant log output
Device
Android
QuickCrypto Version
0.7.2
Can you reproduce this issue in the QuickCrypto Example app?
No, I cannot reproduce the issue in the Example app
Additional information
The text was updated successfully, but these errors were encountered: