-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🔧 Error compiling VisionCameraProxy.kt in react-native 0.74.0 #2783
Comments
VisionCamera does not yet support react-native 0.74. I've been working sleeplessy the past few weeks to get VisionCamera 4.0.0 released which contains a full rewrite of the Android codebase and Skia Frame Processors, and now I'm off to a vacation for a week. For react-native 0.74 I want to migrate VisionCamera to new arch (so TurboModule + Fabric + CodeGen), but this is a huge effort and also I am blocked: I have one prop ( Once that is resolved or if facebook can give me any pointers on how I could implement this clean, I could try to migrate VisionCamera to new arch / react-native 0.74. If someone wants to pay me to get VisionCamera migrated to new arch / react-native 0.74, contact me on https://margelo.io. |
Thanks for the quick response! For now I am downgrading back to 0.73.7. Enjoy your vacation! |
Thanks! |
Well deserved rest, thank you for your work ! |
see #2614 |
This comment has been minimized.
This comment has been minimized.
Are there any other temporary solutions besides downgrading? |
Again, see #2614. react-native 0.74 is simply not yet supported by VisionCamera because it still uses the Bridge for other props that are not Frame Processor related. If you need this, please sponsor the issue #2614 to accelerate the development of this. Otherwise I don't work on it, since I am still on react-native 0.73 with my apps. |
Workaround: #2851 (comment) |
Hey - this is a duplicate of #2614. New architecture support (which also implies react-native 0.74 support) is tracked in that issue. If you need this, please sponsor the issue/fund the development of that major refactor/migration by donating to the Polar pool mentioned in the issue above. Thank you. |
The workaround is fine as a patch btw if you need it to build on RN 74 now. |
|
so why this information not in the document? |
What document? I explained right here that VisionCamera doesn't work with RN 0.74 yet. |
Remove the + before the @OptIn |
How were you trying to build the app?
yarn android
Full build logs
Project dependencies
VisionCamera Version
4.0.1
Target platforms
Android
Operating system
Linux
Can you build the VisionCamera Example app?
No, I cannot build the Example app either
Additional information
The text was updated successfully, but these errors were encountered: