Closed hurelhuyag closed 10 months ago
This is caused by the PeripheralManager
api is unimplemented on Linux, just comment the await peripheralManager.setUp()
in onStartUp
method should resolve this error.
void onStartUp() async {
Logger.root.onRecord.listen(onLogRecord);
WidgetsFlutterBinding.ensureInitialized();
await centralManager.setUp();
// await peripheralManager.setUp();
runApp(const MyApp());
}
This issue is stale because it has been open for 30 days with no activity.
Raspberry Pi 4B is supposed to have Bluetooth LE. I tried to run the example project from
bluetooth_low_enery/example
directory. The example app running without any error. But the screen has no widgets.