-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Fix: VisionCamera macro autofocus not working on iOS #39589
Fix: VisionCamera macro autofocus not working on iOS #39589
Conversation
@ishpaul777 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
reviewing 👀 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeRecord_2024-04-06-04-01-21.mp4Android: mWeb ChromeiOS: Nativetrim.2726F184-E63E-4B39-98B4-29C666B37F9E.MOViOS: mWeb SafariMacOS: Chrome / SafariMacOS: DesktopAdded iOS and Android screen recordings as thats affected by the issue. |
I see no difference :( we still need to maintain a certain distance from the subject to focus, i am close to say that this is how IOS camera works and this is not a issue trim.84758260-A025-4FD1-98A0-BE4DD65A5B9A.MOV |
i think you'll always have to have some distance from object in order for the camera to work. Can it be that this is specific to your device's camera. Maybe somebody else can test/C+ this PR as well, so we can confirm? I tested it on 2 iPhones and it works wel for me |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
Tested ios and its much better, see staging and adhoc build comparison: RPReplay_Final1712329772.mp4@ishpaul777 can you resume with the checklist |
Yes i'll in 2 hours i am out of my workplace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks everyone
✋ 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/mountiny in version: 1.4.62-0 🚀
|
1 similar comment
🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.62-0 🚀
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.62-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.62-17 🚀
|
@mountiny @janicduplessis
Details
Fixes problems on iOS where autofocus doesn't work when close to the object. (macro)
Fixed Issues
$ #34898
PROPOSAL:
Tests
On iOS (also test Android though):
Offline tests
None needed.
QA Steps
Same as in Tests.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.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
Android: Native
Screen_Recording_20240404_140643_New.Expensify.Dev.mp4
Android: mWeb Chrome
iOS: Native
RPReplay_Final1712232109.MP4
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
Added iOS and Android screen recordings. Only iOS was affected by the issue.