-
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
[$250] Mobile browser camera too zoomed in and not focusing. (iPhone Pro Max 16) #52643
base: main
Are you sure you want to change the base?
Conversation
@fabioh8010 thanks for the feedback! All feedback addressed 😄 |
Todo:
|
Today's update:
|
@alitoshmatov 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] |
@alitoshmatov I applied @fabioh8010 updates to the PR description, removed the [WIP] label and opened it to review 😄 |
Will review it tomorrow |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb Chromecamera-mweb.mp4iOS: NativeiOS: mWeb Safari27D21158-434D-4A2F-9871-5E794664DE6F.MP4CF682922-D635-4B83-B67C-4F70FA0E3F59.MP4MacOS: Chrome / SafariMacOS: Desktop |
@fabioh8010 Can you check screen recording in OP, they are not working for me |
@alitoshmatov Do you mean the recordings attached to the PR? It's working for me, could you check one more time? |
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.
LGTM!
Sorry, with new year's holiday and everything else it took a while.
Explanation of Change
This PR fixes #51347 by simplying
src/pages/iou/request/step/IOURequestStepScan/index.tsx
logic to defer the video constraints/zoom choice to the camera system, by just specifying a constraint object without any additional logic. Additionally, we "reset" the camera stream every time the user comes back to the browser app after switching to another app, thus making the camera stream use our desired constraint/zoom settings.Fixed Issues
$ #51347
PROPOSAL: #51347 (comment)
Tests
Offline tests
Same as Tests.
QA Steps
Same as Tests.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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
N/A
Android: mWeb Chrome
Screen.Recording.2024-12-13.at.23.30.18-compressed.mov
iOS: Native
N/A
iOS: mWeb Safari
ScreenRecording_12-14-2024.17-29-31_1-compressed.MP4
ScreenRecording_12-14-2024.17-32-25_1-compressed.MP4
MacOS: Chrome / Safari
N/A
MacOS: Desktop
N/A