-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
#27820
Conversation
I'll try to test it |
I was able to compile without problems, but it still gets stuck on spinning forever 🤔 |
I can also try to compile it soon. |
Yes, it should I just confirmed that the changed code is there in my node_modules |
@aldo-expensify - Can you try by the QR code above? |
Downloading... |
Tested, infinite spinner. |
So, it looks like this upgrade didn't resolve the camera issue on A3? 🤔 |
No, seems like we did not. |
@AndrewGable What's the status of this PR? |
@AndrewGable what do you think of going straight to v3 to also fix this crash as @shubham1206agra is proposing? We could do a test and see if it fixed the issue for the Xiaomi 3 too. |
Hey sorry just saw this now - I just submitted a (still wip) PR here: #28901 Sorry I'm not too familiar with PRs yet I need to test more things and adapt to your workflow more, but in short it just upgrades the lib and uses the new devices API. I'll test more, we have a completely rewritten codebase in V3 so there might or might not be new issues with some various devices - but now with the more stable foundation that'll be a breeze to fix 😅 |
Deploying with Cloudflare Pages
|
I think we can bump this one now to hopefully fix iphone 15 and then v3 once we get that sorted, bumped to latest version per https://expensify.slack.com/archives/C05LX9D6E07/p1696507107779239?thread_ts=1695995214.378979&cid=C05LX9D6E07 |
@mountiny Please update the |
v3 upgrade is being worked on #28914 |
@situchan See this |
yes I know that's why I alerted. cc: @mrousavy @MonilBhavsar |
Closing in favor of #28914 |
🧪🧪 Use the links below to test this build in android and iOS. Happy testing! 🧪🧪 |
Reviewer Checklist
Screenshots/VideosWebN/AMobile Web - ChromeN/AMobile Web - SafariN/ADesktopN/AiOSiPhone X27820-mobile-ios.MP4Android27820-mobile-android.mp4 |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/puneetlath in version: 1.3.84-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.84-10 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.84-10 🚀
|
🚀 Deployed to staging by https://github.com/puneetlath in version: 1.3.85-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.85-4 🚀
|
Details
Updates
react-native-vision-camera
to latest which contains two fixes:react-native-reanimated
allowing us to remove thepatch-package
react-native-vision-camera+2.15.4.patch
Fixed Issues
$ #27691
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android