Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.29 KB

UPGRADE.md

File metadata and controls

34 lines (25 loc) · 1.29 KB

Upgrade from 2.x to 3.0.0

The BarcodeScan.scan() method returns a ScanResult. The barcode is stored in ScanResult.rawContent Check your calls to this method and read the barcode from the rawContent property.

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

Upgrade from 1.0.0 to 2.0.0

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