-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Update react-native-vision-camera
#27820
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
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
|
| Latest commit: |
04e3eb1
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://624dcac9.helpdot.pages.dev |
| Branch Preview URL: | https://andrew-scan-xiaomi.helpdot.pages.dev |
|
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-camerato latest which contains two fixes:react-native-reanimatedallowing us to remove thepatch-packagereact-native-vision-camera+2.15.4.patchFixed Issues
$ #27691
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android