ultra_qr_scanner 3.0.5 copy "ultra_qr_scanner: ^3.0.5" to clipboard
ultra_qr_scanner: ^3.0.5 copied to clipboard

Ultra-fast, low-latency QR code & Barcode scanner plugin for Flutter with native performance optimization.

Changelog #

⚠️ Recommendation: Always use the latest version. Versions below 3.0.4 contain critical bugs on iOS (blank preview, camera freeze, hot restart crash). Versions below 3.0.5 have a blank preview issue on Android when navigating back. Upgrading to the latest version is strongly advised.

3.0.5 #

  • Fix Android blank preview on navigate back: When navigating away and returning to the scanner screen, Flutter recreates the AndroidView with a new PreviewView. The CameraX Preview surface is now reconnected to the new view via reconnectPreviewSurface(), preventing a blank camera preview.

3.0.4 #

  • Fix iOS camera preview blank screen: Camera session now starts immediately on prepareScanner so preview appears without requiring the user to press Start Scan
  • Fix iOS camera switch freeze: Platform view now receives a notification when the preview layer changes (front/back switch) and swaps the layer instantly — no more frozen frame
  • Fix preview layer frame: Added layoutSubviews override to CameraContainerView so the preview layer resizes correctly from CGRect.zero to the real widget size
  • Fix hot restart crash: Added disposeScanner method that fully shuts down the native AVCaptureSession; widget dispose() now calls it so the native session is cleaned up before recreation
  • Fix flash button on front camera: Flash toggle button is now hidden when the front camera is active; switching to front camera with flash on automatically turns it off

3.0.3 #

  • Support Google 16KB Page size: Support Google 16KB Page size
  • Fix Ios scanning error: Fix Ios scanning error

3.0.2 #

  • New Readme update: add and update readme for more clear documentation

3.0.0 #

  • MAJOR RELEASE: Added comprehensive barcode scanning support
  • Auto-Detection: Automatically detects and scans both QR codes and barcodes without mode switching
  • Multi-Format Support: Added support for 12 additional barcode formats:
    • Code 128, Code 39, Code 93
    • EAN-13, EAN-8, UPC-A, UPC-E
    • Codabar, ITF, PDF417, Data Matrix, Aztec
  • Type Detection: New callback signature onCodeDetected(String code, String type) returns format type
  • Enhanced Native Performance: Same ultra-fast scanning for all formats using MLKit (Android) and Vision (iOS)
  • Backward Compatible: Existing QR-only code continues to work with legacy onQrDetected callback
  • Visual Enhancements:
    • Dynamic scanning frame colors based on detected format
    • Format type indicators in default overlay
    • Auto-detection status display
  • New API Methods:
    • scanStreamWithType() - Stream with type information
    • scanOnceWithType() - Single scan with type

2.1.0 #

  • Initial release of ultra_qr_scanner
  • Ultra-fast QR code scanning with native performance
  • Support for both Android (CameraX + MLKit) and iOS (AVCapture + Vision)
  • Features:
    • Preload scanner for instant startup
    • Background processing threads
    • Frame throttling for battery efficiency
    • Auto-stop on detection
    • Flash toggle support
    • Pause/resume detection
    • Stream and single-scan modes
10
likes
150
points
237
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Ultra-fast, low-latency QR code & Barcode scanner plugin for Flutter with native performance optimization.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on ultra_qr_scanner

Packages that implement ultra_qr_scanner