Skip to content

[Due for payment 2026-06-08] Reduce receipt photo resolution and enable iOS takeSnapshot for faster capture #91648

@cristipaval

Description

@cristipaval

Problem

Receipt capture currently shoots at 12 MP and uses takePhoto on iOS even in the common no-flash portrait case. The high resolution increases capture time, thumbnail generation cost, memory pressure, and upload size — all for an image that only needs to be legible for SmartScan.

Solution

  • Drop capture resolution from 12 MP to 6 MP — still plenty for receipt OCR while making capture, thumbnail generation, memory, and upload all cheaper
  • Use takeSnapshot on iOS for the no-flash portrait case (Android already does this), falling back to takePhoto when flash is on or in landscape
  • Enable video on the iOS camera platform-conditionally to support takeSnapshot
  • Merge the now-identical iOS and Android capture files into a shared index.ts
Issue OwnerCurrent Issue Owner: @mallenexpensify
Issue OwnerCurrent Issue Owner: @mallenexpensify

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions