Skip to content

feat: expose metadata from capturePhotoToFile - #4170

Merged
mrousavy merged 1 commit into
mainfrom
feat/photo-file-metadata
Aug 23, 2026
Merged

feat: expose metadata from capturePhotoToFile#4170
mrousavy merged 1 commit into
mainfrom
feat/photo-file-metadata

Conversation

@mrousavy

Copy link
Copy Markdown
Member

Summary

  • extend PhotoFile with width, height, orientation, mirroring, timestamp, RAW status, and container format
  • populate the same metadata on Android and iOS, with Android reading the saved file EXIF for its final dimensions and orientation
  • add focused Harness coverage that compares capturePhotoToFile metadata with an in-memory Photo

Validation

  • bun camera specs
  • bun camera typecheck
  • bunx tsc -p apps/simple-camera/tsconfig.json --noEmit
  • bun lint-kotlin
  • bun lint-swift
  • bun lint-js (passes with 16 existing warnings)
  • bun example build:android
  • focused Android emulator Harness test (passes)
  • iOS SimpleCamera simulator xcodebuild (passes)
  • focused iOS Harness launch reached the app, but the simulator exposes no back camera, so the existing suite setup assertion stopped the test before execution

@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-native-vision-camera-docs Ready Ready Preview Aug 23, 2026 7:51pm

Request Review

@mrousavy
mrousavy merged commit 1ca9b7b into main Aug 23, 2026
8 of 10 checks passed
@mrousavy
mrousavy deleted the feat/photo-file-metadata branch August 23, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant