- The
BarcodeScan.scan()
method returns aScanResult
. The barcode is stored inScanResult.rawContent
Check your calls to this method and read the barcode from therawContent
property. - The following static strings of class
BarcodeScanner
are now written in camelCase (as opposed to PascalCase like before):cameraAccessGranted
cameraAccessDenied
If your project uses pre Flutter 1.12 you need to update Flutter in your App: https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects
The simples way for upgrading is by replacing:
com.apptreesoftware.barcodescan
com.yourcompany.barcodescan
com.apptreesoftware.barcode_scan
With: de.mintware.barcode_scan
Detailed changes:
Android:
Kotlin Package: com.apptreesoftware.barcodescan
-> de.mintware.barcode_scan
Manifest-Package: com.yourcompany.barcodescan
-> de.mintware.barcodescan
Activity: com.apptreesoftware.barcodescan.BarcodeScannerActivity
-> de.mintware.barcode_scan.BarcodeScannerActivity
iOS:
Bundle ID: com.apptreesoftware.barcode.plugin.example
-> de.mintware.barcode_scan.plugin.example
Flutter:
Method channel: com.apptreesoftware.barcode_scan
-> de.mintware.barcode_scan
pubspec.yaml:
- homepage updated
- deprecated author entry removed
- comments removed
- flutter.plugin.androidPackage:
com.apptreesoftware.barcode_scan
->de.mintware.barcode_scan