Features:
- Added cancel for ux - @iRaySpace
Bugfixes:
- Fix autofocus crash - @oznecniV97
- Fix camera selection in Android - @GabrieleVolpato
Bugfixes:
- Add @Keep annotation to fix "No implementation for method requestCameraPermission" - @devtronic
Bugfixes:
- App crash on orientation change - @subinsv
Migrated the changes of the 2.0.0 track
- Fixed the request camera permission flow on Android
Updated also the Flutter env. SDK constraint to ">=2.1.0 <3.0.0"
Changes:
- Rewrite platform communication - @devtronic
- This provides a better way to configure the plugin
- iOS code migrated to Swift
- Android code migrated to FlutterPlugin
- Platform communication with protobuf
- Retrieve the number of available cameras with
BarcodeScanner.numberOfCameras
- Flexible configuration:
- Set the strings for the flash on/off and the cancel button
- Restrict the detected barcode formats
- Set which camera is used for scanning barcodes
BREAKING CHANGES:
- minSdk version on Android is now 18
BarcodeScanner.scan()
returns aScanResult
object. Check UPGRADE.md for migration details.
Bugfixes:
- Fixed the request camera permission flow on Android - @devtronic
Bugfixes:
- Fixed wrong build.gradle
Features:
- Add-to-app support - @santiihoyos
- Changed overlay to full screen in iOS 13
Bugfixes:
Changes:
- Fix compile warning - @lookfirst
- Upgrade gradle - @SuuSoJeat
com.android.tools.build:gradle
: 3.3.1 -> 3.5.0org.jetbrains.kotlin:kotlin-gradle-plugin
: 1.3.20 -> 1.3.50compileSdkVersion
: 28 -> 29targetSdkVersion
: 28 -> 29gradle
: 4.10.2 -> 5.4.1
- Package description updated - @connectety
- README.md and LICENSE.md updated
- Since the project owner has been changed, the package names are different. Checkout the UPGRADE.md for details.
Breaking Change: Adds support for AndroidX
- Fixes iOS: pressing cancel doesn't stop scanning thanks to @tgezginis.
- Fix iOS barcodes not scanning
- Fix android dependencies
- iOS scanner now looks like Android thanks to @dustin-graham
- Fix missing gradle dependency (thanks to toteto)
- Update gradle dependencies
- Improved permission handling (thanks to BenSower)
- Added MIT license
- Rewrite iOS scanner in Objective-C to avoid Swift use_frameworks! conflicts with other plugins (see flutter/flutter#10968)
- Supports 2D & QR Codes
- Control flash while scanning