Apps by Arlomedia

Set List Maker => MIDI Help => Topic started by: canatella on March 25, 2023, 05:02:48 AM

Title: Android 13 and Widi Master
Post by: canatella on March 25, 2023, 05:02:48 AM
Since Android 13, it seems the midi ble connect app is not needed to connect my Widi Master. After updating from 12 to 13, it would not work anymore. I stopped using BLE connect, cleared the bluetooth pairing and tried to connect from band helper directly, but it would crash with

03-25 12:15:50.087 14283 14283 E AndroidRuntime: java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT permission for AttributionSource { uid
= 10228, packageName = com.arlomedia.bandhelper, attributionTag = null, token = android.os.BinderProxy@2b55f68, next = null }: AdapterService getRemoteName
03-25 12:15:50.087 14283 14283 E AndroidRuntime:        at com.android.bluetooth.Utils.checkPermissionForDataDelivery(Utils.java:913)
03-25 12:15:50.087 14283 14283 E AndroidRuntime:        at com.android.bluetooth.Utils.checkConnectPermissionForDataDelivery(Utils.java:945)
03-25 12:15:50.087 14283 14283 E AndroidRuntime:        at com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder.getRemoteName(AdapterService.java:3372)
03-25 12:15:50.087 14283 14283 E AndroidRuntime:        at com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder.getRemoteName(AdapterService.java:3362)
03-25 12:15:50.087 14283 14283 E AndroidRuntime:        at android.bluetooth.IBluetooth$Stub.onTransact(IBluetooth.java:1206)
03-25 12:15:50.087 14283 14283 E AndroidRuntime:        at android.os.Binder.execTransactInternal(Binder.java:1321)
03-25 12:15:50.087 14283 14283 E AndroidRuntime:        at android.os.Binder.execTransact(Binder.java:1280)


It seems this permission is not requested by bandhelper (i just have the detect device proximity permission in the app authorization). I manually granted the permission using
adb shell pm grant com.arlomedia.bandhelper android.permission.BLUETOOTH_CONNECT
and I'm happy to report that it now works.

Maybe the permissions of the Android app needs to be updated though ?
Title: Re: Android 13 and Widi Master
Post by: arlo on March 25, 2023, 10:53:21 AM
The permissions error was fixed in app version 2023-03-17.