Breaking changes: Minimum Flutter version is now Flutter 3.0.0 (Dart 2.17.0).
- Inverted is now mixed with normal scanning.
- onPermissionSet now works on web aswell.
- [Android] zxing core is updated to 3.5.0.
- [Android] Several code improvements.
- [Android] Several dependencies updated.
- Add inverted feature for Android. See juliuscanute#403
- Fixed permission error on devices running Android 7 or lower.
- Fixed error being thrown when user declines permission on iOS.
- Updated dependencies
- Fix bug which caused build to fail for iOS. (#452)
- Add support for raw bytes on iOS. (#421)
- Add custom cutout width and height next to cutout size. (#432)
- Fix for calling permission multiple times. (#381)
- Fix for QRView Overlay cutoutbottomoffset. (#383)
- Multiple minor improvements
- Increased delay to fix QRView opening zoomed in on some devices by adding small delay to updateDimensions(). (#250)
- Updated ZXING from 3.3.0 to 3.4.1 (#369)
- Fixed permission not being called correctly on Android (#351)
Removed web from library export.
- Added initial web-support. This function is still under development and not fully tested.
- Fixed permissions on iOS.
- Updated dependencies.
Stable null-safety support. (#278)
- Fixed QRView opening zoomed in on some devices by adding small delay to updateDimensions(). (#250)
- Changed upc-A to EAN13 on iOS. (#262)
- Fixed null-pointer on BarcodeFormat array on iOS. (#262)
- Added LifecycleEventHandler to dispose(). (#265)
- Fixed No barcode view found on Android when calling controller.dispose() (#257)
- Fixed Hot reload not working on Android.
- Fixed updateDimensions not being called causing zoom on iOS. (#250)
- Fixed Android permission callback not working. (#251) (#252)
- Fixed null-pointers after declining permission on Android.
- Fixed null-pointer when no overlay provided on iOS. (#245)
- Fixed camera not stopping (green dot on iOS 14) when navigating to other page. (#240)
- Fixed permission callback on iOS & Android.
- Fixed camera facing not working on Android.
- Fixed scanArea not being honored on Android.
- Updated ShapeBorder to QrScannerOverlayShape.
Its not necessary anymore to wrap the QRView in a SizeChangedLayoutNotifier because this is handled inside the plugin.
- Added possibility to set allowed barcodes. (#135)
- Added possibility to check what features are supported by device. (hasFlash, hasBackCamera, hasFrontCamera) (#135)
- Added possibility to check if flash is on. (#135)
- Added possibility to check which camera is active. (#135)
- All functions are now async so you can await them. (#135)
See the updated example on how to implement these features.
- Fixed permission handling in Android.
- Native functions now returns results so exceptions can be thrown when an error occurs.
- Fixed critical bug where scanner wouldn't open when no scan overlay was configured.
- The plugin now returns Barcode object instead of QR String. This object includes the type of code, the code itself and on Android devices the raw bytes. (#63)
- Added possibility to provide scanArea on iOS. (#165)
- Fixed preview going black after hot reload. (#76)
- Fixed nullpointer when plugin binding order isn't correct. (#181)
- Fixed permission being asked on startup (#185)
- Changed Android minSDKversion from 24 to 21 (#170)
- Fix preview size after iPad rotation (#125)
- Implemented Android Embedding V2 (#132)
- Added cutout bottom offset (#115)
- Fix Android ActivityLifecycleCallbacks (#166)
- Fix some other small bugs
- Fix disposing camera on iOS 14 (#113)
- Fix misalignment when QRView doesn't start from the top left (#45)
- Fix crash on iOS when scanning returns nil (#69, #72)
- Fix ArithmeticException on Android (#43)
- Add optional parameter to use a camera overlay.
- Simplify controller, expose scanDataStream.
- Fix for Android flash toggle.
- Add ability to pause/resume the camera.
- Thanks! to Luis Thein for all the above contributions.
- android build break fix
- update README.md
- update README.md
- migrated Android project to androidx (by Felipe César)
- migrated iOS to Swift 5 (by Felipe César)
- flash light support added
- camera flip added
- preview stretching after change screen orientation fix
- fix black screen orientation/unlock/focus
- iOS library reference fix
- Android pause/resume fix
- Added documentation to cover how to use the plugin.
- QR Code scanner embedded inside flutter.