Open jrhager84 opened 1 year ago
Hello!
I ran into this issue and was able to workaround it by adding the JavaVersion 1.8 to the library in node_modules/react-native-keychain/android/build.gradle
:
android {
...
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
...
}
Hopefully this will be patched in an upcoming release 🚀
Trying to install react-native-keychain in my project, and I keep getting this error:
I even tried the manual install to get the correct code in the MainApplication and gradle files. Build fails every time. I can't set my compile version to 29 because reanimated (and other libraries) need some R reference that 29 doesn't have (other things break when I downgrade it). How do I keep version 31+ while allowing a method reference in the Keychain warmup.
Please advise. :)
react native info:
package.json