qrcode_scanner icon indicating copy to clipboard operation
qrcode_scanner copied to clipboard

No implementation found for method scan on channel qr_scan

Open sameh-khemira opened this issue 4 years ago • 10 comments

While trying to scan a QR code code and pressing scan () this exception was thrown even before launching camera.

[ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method scan on channel qr_scan)

sameh-khemira avatar Jun 08 '20 13:06 sameh-khemira

I got the same issue, pls help!

vdtuan avatar Jun 10 '20 07:06 vdtuan

Same error for me only in IOS

Dansp avatar Jun 30 '20 19:06 Dansp

I found the error. On IOS give the error MissingPluginException(No implementation found for method scan on channel qr_scan), navigating on pods into ios code I found the channel write by qrscan. I changed the line 10 on qrscan.dart const MethodChannel _channel = const MethodChannel('qr_scan'); to const MethodChannel _channel = const MethodChannel('qrscan'); and it's working on IOS, but now on Android giving this error MissingPluginException(No implementation found for method scan on channel qrscan).

The error is with the name of channel.

Dansp avatar Jun 30 '20 19:06 Dansp

I found the error. On IOS give the error MissingPluginException(No implementation found for method scan on channel qr_scan), navigating on pods into ios code I found the channel write by qrscan. I changed the line 10 on qrscan.dart const MethodChannel _channel = const MethodChannel('qr_scan'); to const MethodChannel _channel = const MethodChannel('qrscan'); and it's working on IOS, but now on Android giving this error MissingPluginException(No implementation found for method scan on channel qrscan).

The error is with the name of channel.

I have modified qrscan.dart, but the camera wouldn't start. Are there permissions I should request on IOS specifically?

zbejas avatar Sep 09 '20 09:09 zbejas

While trying to scan a QR code code and pressing scan () this exception was thrown even before launching camera.

[ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method scan on channel qr_scan)

+1

ReAlign avatar Sep 29 '20 11:09 ReAlign

I found the error. On IOS give the error MissingPluginException(No implementation found for method scan on channel qr_scan), navigating on pods into ios code I found the channel write by qrscan. I changed the line 10 on qrscan.dart const MethodChannel _channel = const MethodChannel('qr_scan'); to const MethodChannel _channel = const MethodChannel('qrscan'); and it's working on IOS, but now on Android giving this error MissingPluginException(No implementation found for method scan on channel qrscan). The error is with the name of channel.

I have modified qrscan.dart, but the camera wouldn't start. Are there permissions I should request on IOS specifically?

Usually, you'd need a NSCameraUsageDescription definition in your ios/Runner/Info.plist file. Eg:

<key>NSCameraUsageDescription</key>
<string>App requires the camera to scan a QR Code.</string>

@pablo3x6 please share your modification?

hotdang-ca avatar Oct 18 '20 16:10 hotdang-ca

Same error for me in ios

renatohlf avatar Nov 17 '20 21:11 renatohlf

Having the same issue. Using the latest version. Any help?

klipsedeville avatar Nov 20 '20 08:11 klipsedeville

can any1 , tell me . how to fix it ? same error for me in android and ios :((

reynaldomarbun22 avatar Jan 05 '21 15:01 reynaldomarbun22

same error in android and ios

Komche avatar Jul 29 '21 14:07 Komche