Skip to content

Add ZoomFactor property and implement platform zoom on iOS/Android/Windows#1

Merged
darrabam merged 5 commits intomainfrom
codex/implement-zoomfactor-bindableproperty
Jan 15, 2026
Merged

Add ZoomFactor property and implement platform zoom on iOS/Android/Windows#1
darrabam merged 5 commits intomainfrom
codex/implement-zoomfactor-bindableproperty

Conversation

@darrabam
Copy link
Copy Markdown
Owner

@darrabam darrabam commented Jan 1, 2026

Description

  • Expose a bindable ZoomFactor property for CameraBarcodeReaderView to control camera zooming.
  • Accept a float value [0 - 1] and maps it to each platform's supported zoom range.
  • Ensure platform-specific behavior to avoid engaging digital zoom (iOS capped to optical max) and to use native linear zoom where appropriate.

Motivation

There are situations where by using zoom can considerably improve the detectability of Zxing.

Tests

It was manually tested on physical iOS/Android phones and Windows device with a camera.

@darrabam darrabam merged commit 11bd117 into main Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant