mintware-de / flutter_barcode_reader

A flutter plugin for reading 2D barcodes and QR codes.
MIT License
628 stars 463 forks source link

Unresolved reference: binaryMessenger #242

Closed OmarACY closed 4 years ago

OmarACY commented 4 years ago

Describe the bug The application not compile C:\Users\USERNAME\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\barcode_scan-3.0.1\android\src\main\kotlin\de\mintware\barcode_scan\BarcodeScanPlugin.kt: (22, 62): Unresolved reference: binaryMessenger

To Reproduce Steps to reproduce the behavior:

  1. Install barcode fllow steps for Android https://pub.dev/packages/barcode_scan#-readme-tab-
  2. Run project
  3. See error

Expected behavior I hope it compiles

Screenshots image

Logs If applicable, add the verbose output of flutter run.

Environment (please complete the following information):

devtronic commented 4 years ago

Looks like your project was created using Flutter <1.12. See this guide for migration: https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects