AmolGangadhare / flutter_barcode_scanner

Barcode scanner plugin for flutter. Supports barcode scanning for Android and iOS
https://pub.dev/packages/flutter_barcode_scanner
MIT License
375 stars 426 forks source link

FlutterActivity to FlutterFragmentActivity. #220

Open abbasovrashad opened 2 years ago

abbasovrashad commented 2 years ago

flutter_barcode_scanner works with a class called FlutterActivity. flutter local_auth package works with FlutterFragmentActivity. Running these two packages together creates a problem. The problem is solved when we prefix the FlutterActivity here with FlutterFragmentActivity.

caravanat commented 2 years ago

I'm having the same problem that @abbasovrashad and his suggestion to change FlutterActivity to FlutterFragmentActivity resolved it.

myConsciousness commented 2 years ago

Is this issue going to be resolved in the next version and soon? The issue has been around for several years and there is no indication that a version that solves it will be released.

AguinaldoAranda commented 2 years ago

It would be important to let us know if this tweak will be implemented so we can get our bearings and opt out of using either package as local_auth with flutter_barcode_scanner doesn't work.

alexverbitsky commented 2 years ago

Here is the related pr, that solves the issue, please check it https://github.com/AmolGangadhare/flutter_barcode_scanner/pull/211