peterferguson / react-native-passkeys

78 stars 10 forks source link

Fix android failing to build when using with expo 50 #6

Closed BubbleTrouble14 closed 7 months ago

BubbleTrouble14 commented 7 months ago

Error message:

> Task :react-native-passkeys:compileDebugKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-passkeys:compileDebugKotlin'.
> 'compileDebugJavaWithJavac' task (current target is 17) and 'compileDebugKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version.
  Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain

Was able to fix it by comparing it to expos build gradle files. Also tested with old versions and builds as well.

adrianofoschi commented 7 months ago

https://github.com/peterferguson/react-native-passkeys/issues/8