react-native-otp-verify
react-native-otp-verify copied to clipboard
Could not determine the dependencies of task ':react-native-otp-verify:compileDebugAidl'.
After installing "react-native-otp-verify": "^1.1.8" build is not working my react native version is 0.72.6
+1
- 1 after installing the dependency throw error in expo
e: This version (1.5.15) of the Compose Compiler requires Kotlin version 1.9.25 but you appear to be using Kotlin version 1.9.24 which is not known to be compatible. Please consult the Compose-Kotlin compatibility map located at https://developer.android.com/jetpack/androidx/releases/compose-kotlin to choose a compatible version pair (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).```
anyone can help ?
@lucaspieran Did you ever fix this ?
@lucaspieran @jkcarraher The fix is to change the kotlin version using the expo-build-properties plugin. You can also modify the build.gradle code to use kotlin 1.9.25 if you have run prebuild.
The below code is if you use expo:
npx expo install expo-build-properties
// app.json
expo {
"plugins": [
[
"expo-build-properties",
{
"android": {
"kotlinVersion": "1.9.24"
}
}
]
],
}