Closed amitshky closed 2 years ago
In .pub-cache\hosted\pub.dartlang.org\flutter_barcode_scanner-2.0.0\android\src\main\java\com\amolg\flutterbarcodescanner\FlutterBarcodeScannerPlugin.java
replace all references of FlutterActivity
to FlutterFragmentActivity
. This is because the local_auth package uses FlutterFragmentActivity
and flutter_barcode_scanner uses FlutterActivity
.
local_auth
usesFlutterFragmentActivity
flutter_barcode_scanner
usesFlutterActivity