Fix: Scan-After selecting a corrupt file, the camera is deactivated - #64781
Conversation
|
@dominictb 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] |
|
I've updated the solution here, as the root cause of the issue lies in how Specifically, when selecting a file via the 'Choose file' option (which opens the Android file manager), if the user stays too long in the picker—causing the app to be backgrounded—the camera gets deactivated. This results in a black screen with the following error: I believe this is a known issue with The solution here is to remount the Let me know your thoughts on these changes @dominictb |
|
@justinpersaud Can I ask for an adhoc build trigger here? |
|
@nyomanjyotisa
|
|
🚧 @justinpersaud 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! 🧪🧪
|
|
@mitarachim Could you ask the QA who reported this issue #64295 to retest the above adhoc builds? |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreenrecording_20250625_121056.mp4Screenrecording_20250625_120549.mp4Android: mWeb ChromeNot applicable iOS: HybridAppiOS: mWeb SafariNot applicable MacOS: Chrome / SafariNot applicable MacOS: DesktopNot applicable |
|
Hello @dominictb , QA team confirms that the issue #64295 is not reproducible on Android v9.1.70-5 Ad Hoc Repro.64295.-.Ad.Hoc.9.1.70-5.mp4 |
|
@mitarachim Great! Thank you. |
|
✋ 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/justinpersaud in version: 9.1.72-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/justinpersaud in version: 9.1.72-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.1.72-10 🚀
|
Explanation of Change
Fixed Issues
$ #64295
PROPOSAL: #64295 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Precondition:
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
Android-Native.mp4
Android: mWeb Chrome
Android-mWeb.Chrome.mp4
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
The issue mainly occurs on mobile
MacOS: Desktop
The issue mainly occurs on mobile