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-06-11] Unable to upload HEIF image as money request (Web) #47078
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Change setReceiptAndNavigate usage to convertReceiptherehere and here
On the other side, the heic-to is incompatible with native platforms as it relies on Workers, which is not supported when using Hermes. The user cannot upload the receipt if it was uploaded from 'Choose File Option'
New-Expensify.mp4
To address this, we can create convertReceipt function using the expo-image-manipulator to convert the receipt on native platforms on index.native.tsx
What alternative solutions did you explore? (Optional)
1a. Result of the original design (eg. a case wasn't considered)
1b. Mistake during implementation
1c. Backend bug
1z. Other:
Where bug was reported:
2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
2b. Reported on staging (eg. found during regression or PR testing)
2d. Reported on a PR
2z. Other:
Who reported the bug:
3a. Expensify user
3b. Expensify employee
3c. Contributor
3d. QA
3z. Other:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: Platform issue.
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: Not needed
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Activity
melvin-bot commentedon Aug 8, 2024
Triggered auto assignment to @kevinksullivan (
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.melvin-bot commentedon Aug 8, 2024
Triggered auto assignment to @johnmlee101 (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.github-actions commentedon Aug 8, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
nyomanjyotisa commentedon Aug 8, 2024
Edited by proposal-police: This proposal was edited at 2024-09-05 12:18:12 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Unable to upload HEIF image as money request
What is the root cause of that problem?
heifis not in the list ofALLOWED_RECEIPT_EXTENSIONSApp/src/CONST.ts
Line 122 in d7b0aba
What changes do you think we should make in order to solve the problem?
Add
heifandheictoALLOWED_RECEIPT_EXTENSIONSWe also need to convert the heif/heic image to jpeg first before displaying and uploading the receipt image to BE
We cant use
expo-image-manipulatorlike we use here on web so I propose we useheic-tofor the converterCreate new function called
convertReceiptDetails
Change
setReceiptAndNavigateusage toconvertReceipthere here and hereOn the other side, the
heic-tois incompatible with native platforms as it relies onWorkers, which is not supported when usingHermes. The user cannot upload the receipt if it was uploaded from 'Choose File Option'New-Expensify.mp4
To address this, we can create
convertReceiptfunction using theexpo-image-manipulatorto convert the receipt on native platforms on index.native.tsxWhat alternative solutions did you explore? (Optional)
Beamanator commentedon Aug 8, 2024
Being discussed a bit in slack - https://expensify.slack.com/archives/C01GTK53T8Q/p1723093823149789
173 remaining items
Beamanator commentedon Jun 4, 2025
$500 sounds fair to me 👍
parasharrajat commentedon Jun 11, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: Platform issue.
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: Not needed
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Test:
Do we agree 👍 or 👎
RachCHopkins commentedon Jun 11, 2025
OMG NO WAY! I thought I would never see the day that I could nearly close this issue. I'm so excited. Will pay it out tomorrow!
RachCHopkins commentedon Jun 16, 2025
Payment Summary:
Upwork job here
RachCHopkins commentedon Jun 16, 2025
Contributor has been paid, the contract has been completed, and the Upwork post has been closed.
@parasharrajat you have the 🟢 to request via NewDot.
parasharrajat commentedon Jun 27, 2025
Payment requested as per #47078 (comment)
JmillsExpensify commentedon Jul 9, 2025
$500 approved for @parasharrajat