flutter_barcode_scanner icon indicating copy to clipboard operation
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)

Open kishorems opened this issue 2 years ago • 6 comments

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.

kishorems avatar May 13 '22 12:05 kishorems

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?

fede1295 avatar May 24 '22 13:05 fede1295

@AmolGangadhare any news about this fix?

cinthiadutra avatar May 27 '22 15:05 cinthiadutra

Same issue for me,

l00ai avatar Jun 12 '22 10:06 l00ai

same issue here

BLACKCAT25896 avatar Jun 19 '22 04:06 BLACKCAT25896

same issue

dqcuong2 avatar Jan 12 '23 15:01 dqcuong2

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.

ebadta81 avatar Mar 08 '23 16:03 ebadta81