Oreo, BLE scanner startScan with PendingIntent not working on Samsung device

前端 未结 3 1621
感动是毒
感动是毒 2021-02-11 09:41

I am trying to scan for beacons using startScan(filters, settings, callbackIntent). I have an implementation that works fine for Sony Xperia XZ, and Nexus 5X. The only other dev

3条回答
  •  甜味超标
    2021-02-11 09:57

    Ah, and in addition to passing empty filter to the startScan you will also need ACCESS_FINE_LOCATION permission on latest Android versions.

提交回复
热议问题