-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Request to upgrade Kotlin compiler #56522
Copy link
Copy link
Open
Labels
Needs: AttentionIssues where the author has responded to feedback.Issues where the author has responded to feedback.Needs: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.
Metadata
Metadata
Assignees
Labels
Needs: AttentionIssues where the author has responded to feedback.Issues where the author has responded to feedback.Needs: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
The current Kotlin compiler version in RN is 2.1.20. The newest Kotlin compiler is 2.3.20.
The general rule is that the Kotlin compiler is forwards compatible one minor version:
"Preferably (but we can't guarantee it), the binary format is mostly forwards compatible with the next language release, but not later ones (in the cases when new features are not used, for example, 1.9 can understand most binaries from 2.0, but not 2.1)."
Many Google SDKs, including one I maintain, (and others) use the latest release of the Kotlin compiler and are now incompatible with RN.
Thanks.
Steps to reproduce
Add a newer dependency such as: implementation("com.google.android.gms:play-services-media-effect-enhancement:16.0.0-beta03")
React Native Version
0.85.2
Affected Platforms
Runtime - Android
Output of
npx @react-native-community/cli infoStacktrace or Logs
MANDATORY Reproducer
https://github.com/mcorner/kotlinrepro
Screenshots and Videos
No response