[Fix] Android Build Failed (Task :react-native-firebase_auth:compileDebugJavaWithJavac FAILED)
Description
In Android build getting below error before this fix: -
Task :react-native-firebase_auth:compileDebugJavaWithJavac FAILED /xxx/xxx/xxx/node_modules/@react-native-firebase/auth/android/src/main/java/io/invertase/firebase/auth/ReactNativeFirebaseAuthModule.java:1620: error: pattern matching in instanceof is not supported in -source 11
Tried all the solution but not working So I have done these PR changes then I am able to run build android build
Related issues
https://github.com/invertase/react-native-firebase/issues/7816
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| react-native-firebase | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 19, 2024 8:14am |
Hello 👋, this PR has been opened for more than 2 months with no activity on it.
If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing!
You have 15 days until this gets closed automatically
JDK17 is a minimum requirement, this will not be merged, rather we have put a compile time failure in place with a descriptive error message to clearly state the minimum