-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Update react-native-vision-camera to the latest version #50650
Comments
cc @mountiny Is that something that we can work on? |
@hannojg yeah lets do that, can we remove all the patches (merge the fixes upstream) as part of that? |
Yes, thats the goal! |
@hannojg can you breakdown the next steps here and what is the eta for them? Would someone else from Margelo work on it? |
We've already started working on that one. As we have to consider new arch & old arch support, it might take a moment longer (its not just applying the patches we have in expensify, but making sure its compatible for all arch types). Main work is happening here: There are a few other PRs however that will be needed:
My ETA would be end of this week! |
Ok thanks! |
Short status update:
I currently ran into a bug with react-native-codegen, where it generates broken code (it must be a For expensify this wasn't happening with the current patch as the codegen spec used in the patch is slightly incorrect. That being said, i am not sure if the ETA of EoW is realistic. I think more like beginning of next week! |
Created an issue here, looking into it: (The problem is that if this gets fixed in react native it will only be available in later versions. For expensify that could mean to just use another patch for reach native. However, its not really viable to ask all VisionCamera users to patch their react native. Due to that i am leaning towards shipping a fixed copy of the codegen code with VisionCamera for now) |
agreed, the fixed copy sounds reasonable until this is fixed |
going to make it weekly |
Update:
Todo:
I am sure that i will finish those items by the end of this week, however Marc is currently OOO and I will need his final review (+ he is the only one who can do a release). [Meanwhile i will open a PR that uses vision camera from the current development branch for testing in expensify!] |
thanks for an update |
Started a PR here:
iOS part is ready, now fixing up the android part Once everything is ready we will test some more and publish a new version that we then can use in newdot! |
Okay, android is working as well now. Waiting for @mrousavy to come back from OOO to finalise tmrw! |
We have come to the conclusion that the code we need to introduce to vision camera for FabricComponents using codegen doesn't meet our quality barrier. |
@hannojg just to let you know, others want to upgrade VisionCamera in another PR: #51761 (comment) |
This issue has not been updated in over 15 days. @hannojg, @mountiny eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
I think we can close this now, we just updated the library Once the library will be migrated to nitro we can handle that in a specific issue |
We are using quite an outdated version of react-native-vision-camera in expensify. There are two patches to make it work with the new arch, however none of these patches have been forwarded upstream yet.
We are using
4.0.0-beta.13
, latest is4.5.3
The latest version of react-native-vision-camera has lots of performance and stability improvements. Plus we have additional maintenance overhead due to the patches (and we are about to add a third one here)
Issue Owner
Current Issue Owner: @hannojgThe text was updated successfully, but these errors were encountered: