Repository navigation
Fix: Share sheet flow is busted - #86632
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@eh2077 the fix works correctly: Simulator.Screen.Recording.-.iPhone.16.Pro.-.2026-03-30.at.16.38.36.movHowever i'm not sure what to attach in Mweb and MacOS web recordings since this particular testing steps are only valid for android, is it fine if i leave it empty ? or what recording steps do you suggest ? |
trjExpensify
left a comment
There was a problem hiding this comment.
Nice work, this will make @JmillsExpensify happy!
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppScreen.Recording.2026-03-31.at.10.07.17.PM.moviOS: mWeb SafariMacOS: Chrome / Safari |
eh2077
left a comment
There was a problem hiding this comment.
Should we add unit tests?
|
@eh2077 addressed your feedback and added tests too |
|
🚧 @NikkiWines has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/NikkiWines in version: 9.3.60-0 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes required. This PR is a purely technical bug fix — it strips |
|
Hi @twilight2294. d67c6ab5625683d8313e462f3b9bb011.mp4 |
|
@twilight2294 @eh2077 @NikkiWines can you please make sure to QA this? I wont block the deploy on it, but lets make sure to follow through |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.3.60-22 🚀
|
@IuliiaHerets It seems an Android platform issue to me. We assumed the sharing feature was only available on iOS according to the original bug report. So I think we shouldn't block on it as long as it works on iOS. That said, the Android issue can either be investigated as a follow up or a new issue if needed. |
|
@eh2077, please let me know if we need to raise an issue for Android |
|
@IuliiaHerets can you confirm if the behavior for Android is the same on staging and production? The bug this is fixing was raised for the iOS platform only. If the behavior on staging + prod is the same then no further action is needed. If the behavior is different, then we can raise an issue to investigate the Android behavior |
|
@IuliiaHerets 👀 above in case we need to create a new issue for Android. Thx |
|
@mallenexpensify @NikkiWines Both work the same (prod and stg). Just to be sure, the share only works by opening an image in the phone's Gallery and then tapping share. If we follow the actual steps from the PR. Open the receipt on the email > tap the three-dot menu in the upper-right corner > Print az_recorder_20260422_014040.mp4 |
|
@IuliiaHerets can you please check the original issue and the device used for testing, reproduction steps are the same maybe a device issue #85928 |
|
@twilight2294 do you want us to check an original issue on an Android device? |
|
@IuliiaHerets I think we can make a new issue for the android issue you're describing. The original issue being fixed was for the iOS flow only. What do you think @twilight2294 @eh2077 ? |
Explanation of Change
Fixed Issues
$ #85928
PROPOSAL: #85928 (comment)
Tests
Offline tests
QA Steps
Verify that Scan completes and user should see the scanned receipt and the amount.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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.2026-03-30.at.1.56.53.PM.mov
Android: mWeb Chrome
iOS: Native
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2026-03-30.at.16.38.36.mov
iOS: mWeb Safari
MacOS: Chrome / Safari