Fix blank camera on android ("Expense - Switch from manual to scan expense can't open the camera")#65080
Conversation
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
|
Hi @suneox 👋 kind bump 🙏 |
|
Actually, we don’t have logs yet, so we can’t determine the exact root cause of the alert—it might be triggered from this line or this line. I'm also not sure whether the current change actually fixes the issue. Therefore, I'll focus on checking the original issue and the related fix implemented in useTabNavigatorFocus. |
|
@suneox The alert is shown because camera hasn't been started (see black camera screen in the issue recording). It's happening because I think those changes fix the issue (as you can see on the recordings in the PR description). It looks like we no longer need to use the |
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppscreen-20250704-215222_2.mp4Android: mWeb Chromescreen-20250704-221145_2.mp4iOS: HybridAppScreen.Recording.2025-07-05.at.02.10.35.mp4iOS: mWeb SafariScreenRecording_07-04-2025.22-42-30_1_2.mp4MacOS: Chrome / SafariN/A MacOS: DesktopN/A |
suneox
left a comment
There was a problem hiding this comment.
Overall, the change set LGTM. The original issue related to useTabNavigatorFocus no longer reproduces, so I think we can proceed with the current approach
|
✋ 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/inimaga in version: 9.1.77-1 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.77-2 🚀
|
Explanation of Change
Fixed Issues
$ #64889
PROPOSAL:
Tests
HybridApp:
mWeb (original useTabNavigatorFocus issue)
Offline tests
QA Steps
HybridApp:
mWeb (original useTabNavigatorFocus issue)
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Android: Native
Screen.Recording.Jul.01.2025.from.Marcin.Warchol.mp4
Android: mWeb Chrome
iOS: Native
ScreenRecording_07-01-2025.13-37-23_1.MP4
iOS: mWeb Safari
iOS: mWeb Chrome
ScreenRecording_07-01-2025.13-20-07_1.MP4
MacOS: Chrome / Safari
MacOS: Desktop