Open iXyles opened 3 years ago
Set the device to not have bluetooth active.
Try to connect to known device.
Error connection failure exception
Aggregate exception because of null reference object (uncatchable) in "Device.cs" for the Android implementation
No call stack, since it throws an "Aggregate exception(Aggregate exception(null reference exception))" from: https://github.com/xabre/xamarin-bluetooth-le/blob/f916758de21ee316b7ef4c16b097fb99de9632e2/Source/Plugin.BLE.Android/Device.cs#L136 Because "Gatt" service is null.
Version of the Plugin: V2.1.2
Platform: Android - no specific version.
Device: Most likely any - Tested with "OnePlus 7 Pro"
Hi @iXyles,
I'm the friendly issue checker. Thanks for using the issue template :star2: I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.
Steps to reproduce
Set the device to not have bluetooth active.
Try to connect to known device.
Expected behavior
Error connection failure exception
Actual behavior
Aggregate exception because of null reference object (uncatchable) in "Device.cs" for the Android implementation
Crashlog
No call stack, since it throws an "Aggregate exception(Aggregate exception(null reference exception))" from: https://github.com/xabre/xamarin-bluetooth-le/blob/f916758de21ee316b7ef4c16b097fb99de9632e2/Source/Plugin.BLE.Android/Device.cs#L136 Because "Gatt" service is null.
Configuration
Version of the Plugin: V2.1.2
Platform: Android - no specific version.
Device: Most likely any - Tested with "OnePlus 7 Pro"