BLUETOOTH CONNECT

89 views
Skip to first unread message

Matteo De vita

unread,
Dec 28, 2022, 4:19:02 AM12/28/22
to DroidScript
good morning
  I upgraded my samsung 20+ smartphone to android 13. my application has a BT to connect to arduino and everything has always worked. after the update I can no longer select the pared devices, I get this error: 
WARNING: App.GetPairedBTDevices() failed! (Need android.permission.BLUETOOTH_CONNECT permission for AttributionSource { uid = 10009, packageName = com.smartphoneremote.androidscriptfree, attributionTag = null, token = android.os.BinderProxy@cc80703, next = null }: AdapterService getBondedDevices)
what can i do to fix the error. 
I think it is necessary to grant permissions but I don't know how
.thank you all Matteo

Dave

unread,
Dec 28, 2022, 5:44:14 AM12/28/22
to DroidScript
It looks like there are changes needed for Android 12 - 


If you are not publishing to Google Play then you can set your target API level to 30 instead of 31 but the next beta release of DS will include these new permissions.

Sorry for the inconvenience
Reply all
Reply to author
Forward
0 new messages