Skip to content

feat: Add native zoom gesture change listener - #4171

Merged
mrousavy merged 1 commit into
mainfrom
feat/native-zoom-change-listener
Aug 26, 2026
Merged

feat: Add native zoom gesture change listener#4171
mrousavy merged 1 commit into
mainfrom
feat/native-zoom-change-listener

Conversation

@mrousavy

Copy link
Copy Markdown
Member

Summary

  • expose addOnZoomChangedListener(...) on ZoomGestureController
  • emit each clamped target zoom update from the native pinch recognizer on iOS and Android
  • regenerate the Nitro bindings for the new listener API

Test plan

  • bun camera specs
  • bun run lint-all
  • bun camera typecheck
  • bun camera build
  • bun example build:android
  • xcodebuild -workspace SimpleCamera.xcworkspace -scheme VisionCamera -sdk iphonesimulator -configuration Debug -destination generic/platform=iOS\ Simulator -derivedDataPath build CODE_SIGNING_ALLOWED=NO build -quiet

@vercel

vercel Bot commented Aug 24, 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 26, 2026 11:18am

Request Review

@mrousavy
mrousavy force-pushed the feat/native-zoom-change-listener branch from a7fe7cc to ad348f9 Compare August 26, 2026 11:17
@mrousavy
mrousavy merged commit 3becbfd into main Aug 26, 2026
9 of 15 checks passed
@mrousavy
mrousavy deleted the feat/native-zoom-change-listener branch August 26, 2026 11:38
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