You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I compared the previous Xamarin app and realized every time the adapter.ConnectToKnownDeviceAsync was executed, it ran the Adapter_DeviceConnected (even if the device was already paired or not).
Steps to reproduce
Implement the event Handler adapter.DeviceConnected
I'm the friendly issue checker.
Thanks for using the issue template 🌟
I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.
I'm currently migrating a Xamarin app which uses Plugin.BLE. I'm using .NET MAUI 8 and Plugin.BLE.
When I use ConnectToKnownDeviceAsync in .NET MAUI 8 and run the following code:
the EventHandler
adapter.DeviceConnected
is executed only onceI compared the previous Xamarin app and realized every time the
adapter.ConnectToKnownDeviceAsync
was executed, it ran the Adapter_DeviceConnected (even if the device was already paired or not).Steps to reproduce
Implement the event Handler adapter.DeviceConnected
Execute adapter.ConnectToKnownDeviceAsync(localDeviceId, param);
Expected behavior
Keep the same functionality (Xamarin version) to execute the
Adapter_DeviceConnected
every time theConnectToKnownDeviceAsync
is executed too.Actual behavior
adapter.DeviceConnected
is executed only once.Crashlog
None
Configuration
Version of the Plugin: v3.1.0-beta.1
Platform: Android v13
Device: Samsung Galaxy A53
The text was updated successfully, but these errors were encountered: