-
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
Recreate a receipt for native #54358
base: main
Are you sure you want to change the base?
Recreate a receipt for native #54358
Conversation
…/51761-recreate-receipt
…/51761-recreate-receipt
…/51761-recreate-receipt
…emove unused functions
…/51761-recreate-receipt
…/51761-recreate-receipt
@allgandalf 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 struggle to build Android so I haven't attached a video to this platform. Please build it on your side. |
sure thing! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
…/51761-recreate-receipt
@allgandalf I've synced it up. |
I'll ask someone to trigger a AdHoc for this one |
🚧 @techievivek has triggered a test 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! 🧪🧪 |
Android works well. Video
Android.mp4 |
I get a no access page if i open the receipt, do you have any idea @rezkiy37 ? did this work fine on simulator ? ScreenRecording_01-09-2025.12-02-19_1.MP4 |
@allgandalf, I just tested your case and it works properly on my iPhone in dev mode. Video
ISO.2.mp4 |
@rezkiy37 the video you attached is of a staging build no? I tested with the current PR's adhoc build |
@allgandalf, no. I mentioned "in dev mode", not a staging build. I still don't have access to it. I can probably build a |
…/51761-recreate-receipt
Unfortunately, I couldn’t build a staging or production application locally. I've asked for some help. |
Explanation of Change
The PR fixes a case when submitting the scanned expense is errored when the user kills the app while the request is in the queue. I propose reconstructing a blob of the receipt if the request is created while the user is offline.
Fixed Issues
$ #51761
PROPOSAL: #51761 (comment)
Tests
Offline tests
Same as tests.
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
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
Android: mWeb Chrome
Android.Chrome.mp4
iOS: Native
IOS.mp4
iOS: mWeb Safari
IOS.Safari.mp4
MacOS: Chrome / Safari
Desktop.mp4
MacOS: Desktop
Desktop.mp4