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
This only happens when the BLUETOOTH_SCAN permission is allowed.
I use the requestPermissionBtScan() function, allowed it when the window appear, and when I hit my search button that call startScan(), my app is closed without any error message.
I try to use the "android-permission" plugin, and same problems.
Issue #736 seem to be the same problems, but the solution doesn't work for me.
I precise that I'm not an expert and work on a legacy code.
The text was updated successfully, but these errors were encountered:
Solved the issue. When you are scanning and you are specifying services to filter on you also need to have Connect permissions. If you don't request them the app crashes on start-up.
Hi !
My app crash when
startScan()
function is called.This only happens when the BLUETOOTH_SCAN permission is allowed.
I use the
requestPermissionBtScan()
function, allowed it when the window appear, and when I hit my search button that callstartScan()
, my app is closed without any error message.I try to use the "android-permission" plugin, and same problems.
Issue #736 seem to be the same problems, but the solution doesn't work for me.
I precise that I'm not an expert and work on a legacy code.
The text was updated successfully, but these errors were encountered: