ostrya / PresencePublisher

An Android MQTT client that regularly publishes messages to notify about the device's presence
MIT License
79 stars 12 forks source link

no beacons found on Samsung S22 #62

Closed robotsmiki closed 1 year ago

robotsmiki commented 1 year ago

on samsung S22 when I go "Add beacon" it does not find any, just the loading animation is shown. I have many beacons around me. All permissions are allowed. Will test later on different phones if this a S22 issue. App version 2.5.0 from F-Droid Screenshot_20230412_125014_Permission controller

robotsmiki commented 1 year ago

I've confirmed on a different version of android (9) in the same settings the beacon scan does work and shows a list of beacons around me. So it seems on android 13 there is a problem.

robotsmiki commented 1 year ago

seems like newer devices require new permissions that need to be added android.permission.BLUETOOTH_SCAN ans BLUETOOTH_CONNECT https://developer.android.com/guide/topics/connectivity/bluetooth/permissions Please add these permissions, I will gladly test if this works.

ostrya commented 1 year ago

Thanks for the hint, since all Bluetooth interaction is done in the library I use, I must have missed this new permission.