Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth Pairing Request #13

Open
drunisa007 opened this issue Nov 24, 2020 · 0 comments
Open

Bluetooth Pairing Request #13

drunisa007 opened this issue Nov 24, 2020 · 0 comments

Comments

@drunisa007
Copy link

when I accept PAIR from notification.it disconnect automatically and show below error.
E/flutter (31836): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: PlatformException(not connect, state not right, null, null)
E/flutter (31836): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:582:7)
E/flutter (31836): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:159:18)
E/flutter (31836):
E/flutter (31836): #2 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:332:12)
E/flutter (31836): #3 BluetoothPrint.printReceipt (package:bluetooth_print/bluetooth_print.dart:141:14)
E/flutter (31836): #4 _MyAppState.build. (package:test_another_library/main.dart:157:48)
E/flutter (31836):
E/flutter (31836): #5 _MyAppState.build. (package:test_another_library/main.dart)
E/flutter (31836): #6 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:993:19)
E/flutter (31836): #7 _InkResponseState.build. (package:flutter/src/material/ink_well.dart:1111:38)
E/flutter (31836): #8 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:183:24)
E/flutter (31836): #9 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:598:11)
E/flutter (31836): #10 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:287:5)
E/flutter (31836): #11 BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:222:7)
E/flutter (31836): #12 PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:476:9)
E/flutter (31836): #13 PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:77:12)
E/flutter (31836): #14 PointerRouter._dispatchEventToRoutes. (package:flutter/src/gestures/pointer_router.dart:122:9)
E/flutter (31836): #15 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:377:8)
E/flutter (31836): #16 PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:120:18)
E/flutter (31836): #17 PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:106:7)
E/flutter (31836): #18 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:358:19)
E/flutter (31836): #19 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:338:22)
E/flutter (31836): #20 RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:267:11)
E/flutter (31836): #21 GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:295:7)
E/flutter (31836): #22 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:240:7)
E/flutter (31836): #23 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:213:7)
E/flutter (31836): #24 _rootRunUnary (dart:async/zone.dart:1206:13)
E/flutter (31836): #25 _CustomZone.runUnary (dart:async/zone.dart:1100:19)
E/flutter (31836): #26 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
E/flutter (31836): #27 _invoke1 (dart:ui/hooks.dart:265:10)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant