shinyorg / shiny

.NET Framework for Backgrounding & Device Hardware Services (iOS, Android, & Catalyst)
https://shinylib.net
MIT License
1.46k stars 226 forks source link

[Bug]: Scan Button causes endless loop #1530

Closed mcourter closed 1 week ago

mcourter commented 1 week ago

Component/Nuget

BluetoothLE Client (Shiny.BluetoothLE)

What operating system(s) are effected?

Version(s) of Operation Systems

Pixel 4a Android 11

Hosting Model

Steps To Reproduce

  1. Startup app in Visual Studio on Windows 11.
  2. Tap the Scan button. App stays in an endless loop until button is tapped again. It doesn't stop on any break points.

Expected Behavior

It should find a printer then allow the user to print a hard coded text string.

Actual Behavior

Goes into an endless scan loop looking for devices.

Exception or Log output

No response

Code Sample

The code can be found here: https://www.xamboy.com/2020/04/20/bluetooth-printing-in-xamarin-forms-using-shiny/

Code of Conduct

aritchie commented 1 week ago

I didn't write that article, so I have no idea. This repo is for reporting actual bugs in Shiny.