chaochih.lin
chaochih.lin
> I can confirm that DataConnectionChecker().hasConnection return false when running in release mode, but run normally in debug mode. Weird behavior. Did you double check the AndroidManifest.xml contains following declaration?...
> Hi > > Could you add a code snippet you use to get states? @dariuszseweryn Here you are: ``` void tryConnect(Peripheral peripheral) async { print("Make sure the device was...
BTW, peripheral.observePeripheralConnectionState() will cause exception after v2.2.7. v2.2.6 was fine. ``` 2020-07-18 12:08:19.718255+0800 Runner[1470:975390] [VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: type '_BroadcastStream' is not a subtype of type 'Stream' #0 DeviceConnectionMixin.observePeripheralConnectionState (package:flutter_ble_lib/src/bridge/device_connection_mixin.dart:41:20) #1...
Have same issue.
Thanks for your effort. I prefer pure dart solution personally. But you're the guy who made final decision. And I'm urgent on this. If dark-sdk could provide log10 function, this...