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 realize this may not be related to Shiny but I am out of ideas on this and haven't been able to find anything online regarding this topic. When I background my app (which is using Shiny BLE to connect/communicate with a device), then physically separate my phone from the connected bluetooth device that I'm connecting to, I see the a popup that says:
The "BleDeviceName" accessory disconnected. Open "MyAppName" to reconnect.
Why does this popup appear? Is there a way to get rid of it? Is there some setting in Shiny that controls this popup? I've looked around but I can't find anything online talking about this (maybe I'm using the wrong search terms). Any help here would be appreciated!
Update 1
It seems as if this option controls the notification:
The IPeripheral doesn't provide control over this property as far as I can see. The IPeripheral ConnectAsync extension method takes a ConnectionConfig param which seems to only have a bool for whether to reconnect. I do want the reconnect behavior, but would like to specify to not show the popup when a reconnect happens.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I realize this may not be related to Shiny but I am out of ideas on this and haven't been able to find anything online regarding this topic. When I background my app (which is using Shiny BLE to connect/communicate with a device), then physically separate my phone from the connected bluetooth device that I'm connecting to, I see the a popup that says:
Why does this popup appear? Is there a way to get rid of it? Is there some setting in Shiny that controls this popup? I've looked around but I can't find anything online talking about this (maybe I'm using the wrong search terms). Any help here would be appreciated!
Update 1
It seems as if this option controls the notification:
https://developer.apple.com/documentation/corebluetooth/cbconnectperipheraloptionnotifyonnotificationkey
The IPeripheral doesn't provide control over this property as far as I can see. The IPeripheral ConnectAsync extension method takes a ConnectionConfig param which seems to only have a bool for whether to reconnect. I do want the reconnect behavior, but would like to specify to not show the popup when a reconnect happens.
Beta Was this translation helpful? Give feedback.
All reactions