Skip to content

Releases: RanduSoft/RSQRScannerViewController

v2.0.0

20 Feb 11:24
503c3dd

Choose a tag to compare

What's New

Complete modernization of the package with Swift 6 strict concurrency and SwiftUI support.

Breaking Changes

  • Minimum deployment target is now iOS 16 / Mac Catalyst 16
  • scanResult closure replaced by onScanResult (now returns ScanResult with value + code type)
  • failedInit closure replaced by onError (now returns typed ScannerError)

New Features

  • SwiftUI supportCodeScannerView wrapper
  • Configurable scanningScannerConfiguration struct with code types, camera position, scan mode, haptics, torch, auto-dismiss
  • Multiple code types — QR, EAN-8, EAN-13, Code 128, and all AVMetadataObject.ObjectType codes
  • Continuous scanning.continuous(debounceInterval:) mode with deduplication
  • Torch toggle — built-in flashlight button
  • Camera permissions — automatic permission requests with .unauthorized error reporting
  • Haptic feedback — success haptic for single scan, impact for continuous

Improvements

  • Swift 6 strict concurrency with zero warnings
  • Capture session runs on a background queue
  • Preview layer updates on rotation
  • Proper LocalizedError descriptions
  • Modernized .gitignore

v1.0.0

19 Sep 20:20

Choose a tag to compare

- initial commit