Open manandharsudhir opened 1 year ago
StreamBuilder( stream: FlutterBluetoothPrinter.discovery, builder: (context, snapshot) { log(snapshot.data.toString()); final list = snapshot.data ?? <BluetoothDevice>[]; return Text(list.toString()); })
the list is providing me an instance of Permission Restricted State
did you allow the bluetooth permission? on android you have to add location permission too
StreamBuilder( stream: FlutterBluetoothPrinter.discovery, builder: (context, snapshot) { log(snapshot.data.toString()); final list = snapshot.data ?? <BluetoothDevice>[]; return Text(list.toString()); })
the list is providing me an instance of Permission Restricted State