You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-08-15] [$250] Native share-Shared offline image disappears from the chat after going online #66831
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Version Number: 9.1.84-1 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from TestRail:https://test-management.browserstack.com/projects/2148171/folder/12015297/test-cases/39317532 Email or phone of affected tester (no customers): N/A Issue reported by: Applause Internal Team Device used: iPhone 15 iOS 18.5 App Component: Other
Action Performed:
Launch ND Hybrid app and sign in with gmail account
Create a chat with the other user, send some messages
Navigate to the device's gallery, tap any image, select Share, then select Expensify app
Select "Share" option when in the app, then the other User from Step 2
Enable "Force offline" mode, type a message and tap "Share"
Force kill and re-launch the app
Navigate to the chat where you just shared an image, and Go online
Wait 3-5 seconds and observe the chat history
Expected Result:
Shared offline image is displayed in the chat along with the comment
Actual Result:
Shared offline image disappears from the chat after refreshing the app enabling online mode
Please re-state the problem that we are trying to solve in this issue.
Shared offline image disappears from the chat after refreshing the app enabling online mode
What is the root cause of that problem?
We generate the blob file and pass it to addAttachment function. After closing the app and reopening it, the temporary file becomes invalid, so the image disappears.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
NA
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]Native share-Shared offline image disappears from the chat after going online[/-][+][$250] Native share-Shared offline image disappears from the chat after going online[/+]on Jul 23, 2025
changed the title [-][$250] Native share-Shared offline image disappears from the chat after going online[/-][+][Due for payment 2025-08-15] [$250] Native share-Shared offline image disappears from the chat after going online[/+]on Aug 8, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.90-11 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@jjcoffee@alexpensify The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Jul 22, 2025
Triggered auto assignment to @alexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.mkzie2 commentedon Jul 22, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Shared offline image disappears from the chat after refreshing the app enabling online mode
What is the root cause of that problem?
We generate the blob file and pass it to
addAttachmentfunction. After closing the app and reopening it, the temporary file becomes invalid, so the image disappears.App/src/pages/Share/ShareDetailsPage.tsx
Lines 105 to 130 in 233790a
What changes do you think we should make in order to solve the problem?
We already have a solution to regenerate the blob file here, but it's only applied for
receiptparam. We should apply the same forfileparamApp/src/libs/prepareRequestPayload/index.native.ts
Line 21 in 233790a
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
NA
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
melvin-bot commentedon Jul 23, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021948105471577063841
[-]Native share-Shared offline image disappears from the chat after going online[/-][+][$250] Native share-Shared offline image disappears from the chat after going online[/+]melvin-bot commentedon Jul 23, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee (
External)alexpensify commentedon Jul 23, 2025
@jjcoffee - can you please review if this proposal will fix the issue? Thanks!
melvin-bot commentedon Jul 28, 2025
@jjcoffee Eep! 4 days overdue now. Issues have feelings too...
melvin-bot commentedon Jul 30, 2025
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
15 remaining items
IuliiaHerets commentedon Aug 7, 2025
The issue can't be more reproducible in v9.1.90-4 build
Retest66831.mp4
[-][$250] Native share-Shared offline image disappears from the chat after going online[/-][+][Due for payment 2025-08-15] [$250] Native share-Shared offline image disappears from the chat after going online[/+]melvin-bot commentedon Aug 8, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Aug 8, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.90-11 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2025-08-15. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Aug 8, 2025
@jjcoffee @alexpensify The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
alexpensify commentedon Aug 15, 2025
#67932 is the pull request for this one
alexpensify commentedon Aug 15, 2025
Payment Summary
Contributor: @mkzie2 paid $250 via Upwork
Contributor+: @jjcoffee due $250 via NewDot
quinthar commentedon Aug 28, 2025
$250 approved for @jjcoffee