ultra_qr_scanner 3.0.5
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
AndroidViewwith a newPreviewView. The CameraXPreviewsurface is now reconnected to the new view viareconnectPreviewSurface(), preventing a blank camera preview.
3.0.4 #
- Fix iOS camera preview blank screen: Camera session now starts immediately on
prepareScannerso 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
layoutSubviewsoverride toCameraContainerViewso the preview layer resizes correctly fromCGRect.zeroto the real widget size - Fix hot restart crash: Added
disposeScannermethod that fully shuts down the nativeAVCaptureSession; widgetdispose()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
onQrDetectedcallback - 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 informationscanOnceWithType()- 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