-
I don't get any error in the code below, but the StartScanningForDevicesAsync() method does not find open bluetooth devices. So Adapter.DeviceDiscovered += async (s, a) => {} I don't get any output in this part. Nor error. ConfigurationVersion of the Plugin: 3.0.0 **Platform:**Android 10-11 Device: Xiaomi Note 7 namespace Kumanda
}` |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
Hi @mthnzbk, I'm the friendly issue checker. If you think it's fine to make an exception, just ignore this message. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Possibly you're failing to request permissions properly? See https://github.com/dotnet-bluetooth-le/dotnet-bluetooth-le#permissions You need to add the relevant permissions to your manifest and also request them at runtime. Which SDK level are you targeting? Do you use Xamarin or MAUI? |
Beta Was this translation helpful? Give feedback.
-
`protected override void OnCreate(Bundle savedInstanceState)
}` .net 7 Maui |
Beta Was this translation helpful? Give feedback.
-
From https://developer.android.com/develop/connectivity/bluetooth/bt-permissions:
|
Beta Was this translation helpful? Give feedback.
-
I also added the missing permission, but again when the device search method works, it cannot find the pc and the other phone. |
Beta Was this translation helpful? Give feedback.
From https://developer.android.com/develop/connectivity/bluetooth/bt-permissions: