qrcode_scanner
qrcode_scanner copied to clipboard
No implementation found for method scan on channel qr_scan
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)
I got the same issue, pls help!
Same error for me only in IOS
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 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.dartconst MethodChannel _channel = const MethodChannel('qr_scan');toconst MethodChannel _channel = const MethodChannel('qrscan');and it's working on IOS, but now on Android giving this errorMissingPluginException(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?
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
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.dartconst MethodChannel _channel = const MethodChannel('qr_scan');toconst MethodChannel _channel = const MethodChannel('qrscan');and it's working on IOS, but now on Android giving this errorMissingPluginException(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?
Same error for me in ios
Having the same issue. Using the latest version. Any help?
can any1 , tell me . how to fix it ? same error for me in android and ios :((
same error in android and ios