kakzaki / blue_thermal_printer

Working with thermal printer via bluetooth (Flutter)
MIT License
164 stars 205 forks source link

MissingPluginException(No implementation found for method isDeviceConnected on channel blue_thermal_printer/methods) #156

Closed gomcodoctor closed 1 year ago

gomcodoctor commented 2 years ago

I am getting

MissingPluginException(No implementation found for method isDeviceConnected on channel blue_thermal_printer/methods)

when trying to print on background notification in firebase messaging

utpalruparel commented 2 years ago

I think ios is not supported. I also tried but same error. Any solution?

gomcodoctor commented 2 years ago

I am getting on android

github-actions[bot] commented 1 year ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

gomcodoctor commented 1 year ago

Why it's marked as completed?

A7mdlbanna commented 7 months ago

Any updates on this?

TarunPal3551 commented 5 months ago

E/flutter (21125): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method state on channel blue_thermal_printer/methods) E/flutter (21125): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7) E/flutter (21125): <asynchronous suspension> E/flutter (21125): #1 BlueThermalPrinter.onStateChanged.<anonymous closure> (package:blue_thermal_printer/blue_thermal_printer.dart:47:53) E/flutter (21125): <asynchronous suspension> E/flutter (21125): #2 BlueThermalPrinter.onStateChanged (package:blue_thermal_printer/blue_thermal_printer.dart:47:11) E/flutter (21125): <asynchronous suspension> E/flutter (21125): #3 PrinterController.startPrinterService.<anonymous closure> (package:apnabillbook/controllers/printer_controller.dart:2149:46) E/flutter (21125): <asynchronous suspension> E/flutter (21125): E/flutter (21125): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method state on channel blue_thermal_printer/methods) E/flutter (21125): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7) E/flutter (21125): <asynchronous suspension> E/flutter (21125): #1 BlueThermalPrinter.onStateChanged.<anonymous closure> (package:blue_thermal_printer/blue_thermal_printer.dart:47:53) E/flutter (21125): <asynchronous suspension> E/flutter (21125): #2 BlueThermalPrinter.onStateChanged (package:blue_thermal_printer/blue_thermal_printer.dart:47:11) E/flutter (21125): <asynchronous suspension> E/flutter (21125): #3 PrinterController.startScanPrinter.<anonymous closure> (package:apnabillbook/controllers/printer_controller.dart:301:46) E/flutter (21125): <asynchronous suspension>