Skip to content

[Due for payment 2026-05-20] [Due for payment 2026-05-18] iOS - Camera - Camera viewfinder is blurry and grainy #90119

Closed

Description

@mitarachim

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.3.69-3
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #87681
Email or phone of affected tester (no customers): josdjnosdjionjsdonjisod@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: iPhone 15 Pro Max / iOS 26.4.2
App Component: Chat Report View

Action Performed:

  1. Launch Expensify app.
  2. Go to workspace chat.
  3. Tap + > Add attachment > Take photo.

Expected Result:

Photo on the viewfinder will not be blurry.

Actual Result:

Photo on the viewfinder is blurry.
Photo also cannot be taken after tapping capture button.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari

Screenshots/Videos

Bug7149504_1778351595014.ScreenRecording_05-10-2026_02-32-48_1.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @ShridharGoel

Activity

  1. added
    DeployBlockerCash
    Daily
    Bug
    DeployBlocker
    on May 9, 2026
  2. melvin-bot commented on May 9, 2026

    @melvin-bot

    @srikarparsi recently merged #87681, but they are OOO right now, so I'll auto-assign someone else.

  3. melvin-bot commented on May 9, 2026

    @melvin-bot

    Triggered auto assignment to @Gonals (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  4. melvin-bot commented on May 9, 2026

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  5. github-actions commented on May 9, 2026

    @github-actions
    Contributor

    👋 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:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  6. OSBotify commented on May 9, 2026

    @OSBotify
    Contributor

    Investigation Summary

    Classification: Frontend bug
    Causing PR: #87681 - "fix: use in-app VisionCamera for chat attachment photos" by @srikarparsi (High confidence)
    Related Issues: #84018 (original crash bug this PR was fixing)

    Recommendation: REVERT

    PR #87681 introduced a new AttachmentCamera component that replaces the native OS camera with an in-app VisionCamera modal for chat attachment photo capture. The regression (blurry viewfinder + inability to capture) is reproducible on staging only (not production), confirming the cause is this newly merged PR. Reverting it would restore the previous behavior while a more targeted fix is prepared.

    Assigned: @srikarparsi (PR author), @ShridharGoel (approving reviewer)
    Labels: DeployBlockerCash retained (App PR is the cause); DeployBlocker retained (already present — leaving both as-is pending further confirmation)

    Detailed Analysis

    Evidence

    Verification

    Root Cause

    The new AttachmentCamera component in AttachmentCamera.tsx configures useCameraDevice with physicalDevices: ['wide-angle-camera', 'ultra-wide-angle-camera']. On iOS (particularly iOS 26 beta used by the tester — iPhone 15 Pro Max / iOS 26.4.2), this multi-device configuration can cause the VisionCamera library to select a virtual multi-camera device that spans physical lenses. When the camera format selection (useCameraFormat) then applies a 4:3 photo aspect ratio constraint, the resulting format may not match the active physical lens configuration, producing a blurry preview in the viewfinder. Additionally, the out-of-focus or misconfigured camera session can prevent takePhoto() from completing successfully, explaining why tapping the capture button has no effect.

    The issue is specifically tied to the new in-app camera modal path introduced by this PR — users hitting "Take photo" via the attachment picker now go through AttachmentCamera.tsx instead of launching the native OS camera intent.

  7. 9 remaining items

  8. Beamanator commented on May 11, 2026

    @Beamanator
    Contributor

    Looks perfectly clear on my 17e on latest staging 👍

  9. m-natarajan commented on May 11, 2026

    @m-natarajan

    not reproducible in 9.3.69-17

    ScreenRecording_05-12-2026.05-45-57_1.1.MP4
  10. removed
    DeployBlockerCash
    on May 11, 2026
  11. added
    Daily
    and removed
    Reviewing
    Hourly
    on May 11, 2026
  12. changed the title [-]iOS - Camera - Camera viewfinder is blurry and grainy[/-] [+][Due for payment 2026-05-18] iOS - Camera - Camera viewfinder is blurry and grainy[/+] on May 11, 2026
  13. melvin-bot commented on May 11, 2026

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  14. melvin-bot commented on May 11, 2026

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.69-18 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 2026-05-18. 🎊

    For reference, here are some details about the assignees on this issue:

  15. melvin-bot commented on May 11, 2026

    @melvin-bot

    @ShridharGoel 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]

  16. changed the title [-][Due for payment 2026-05-18] iOS - Camera - Camera viewfinder is blurry and grainy[/-] [+][Due for payment 2026-05-20] [Due for payment 2026-05-18] iOS - Camera - Camera viewfinder is blurry and grainy[/+] on May 13, 2026
  17. melvin-bot commented on May 13, 2026

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.72-1 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 2026-05-20. 🎊

    For reference, here are some details about the assignees on this issue:

  18. melvin-bot commented on May 13, 2026

    @melvin-bot

    @ShridharGoel 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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugDailyEngineering

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions