flutter_barcode_scanner
flutter_barcode_scanner copied to clipboard
MissingPluginException(No implementation found for method scanBarcode on channel flutter_barcode_scanner) || PlatformException(no_fragment_activity, local_auth plugin requires activity to be a FragmentActivity., null, null)
The mobile app uses the local_auth plugin for biometrics and now recently integrated bar code scanner plugin which gives the exception1 below
**Exception1 ** Unhandled Exception: MissingPluginException(No implementation found for method scanBarcode on channel flutter_barcode_scanner)
The issue is resolved using the suggestions made at the link [modify all reference to FlutterActivity to FlutterFragmentActivity and it works] and it breaks the biometrics because exception2 below.
Exception2
PlatformException(no_fragment_activity, local_auth plugin requires activity to be a FragmentActivity., null, null)
Please help us how to resolve this, the mobile app requires both a biometric and bar code scanner.
Same issue for me, local_auth and flutter_barcode_scanner right now they are incompatible..
@AmolGangadhare Could you please accept this pull request: https://github.com/AmolGangadhare/flutter_barcode_scanner/pull/211 and release an update?
@AmolGangadhare any news about this fix?
Same issue for me,
same issue here
same issue
I also would like to use local_auth and flutter_barcode_scanner in my application.
Is there a workaround, to do this?
My application will be released soon, so I need a resolution for this asap.