brilliantlabsAR / noa-flutter

The Noa app for iOS and Android
Other
29 stars 20 forks source link

Open Bluetooth settings if device already paired and pairing info is wrong #141

Closed uma-shankar-TE closed 1 month ago

uma-shankar-TE commented 2 months ago

if Encryption Insufficient error is there , we can open bluetooth setting to guide deletion of pairing info

https://pub.dev/packages/app_settings

https://stackoverflow.com/questions/59033513/is-there-a-method-in-flutter-to-open-androids-and-ioss-built-in-bluetooth-me

ElevatedButton( child: Text("Bluetooth"), onPressed: () { AppSettings.openBluetoothSettings(); }, )

siliconwitch commented 1 month ago

Problem with this is that it would jump to bluetooth settings for both incorrect phone bond, but also frame bond when it needs a pin reset. Better to just describe in the app directly how to unpair with an animation or something like that