user2551017
user2551017

Reputation: 163

Google sample BluetoothAdvertisements not detecting advertisements

I have a BLE wearable (running on Tizen 3.0) sending out BLE advertisements. The advertisements get immediately detected by the Nordic nRF Android App.

However, the BluetoothAdvertisements Google sample app detects none.

In ScannerFragment.buildScanFilters(), I did set the filters to see all BLE devices around.

The platform is Android 8.1.0 on Google Pixel.

Any suggestions will be greatly appreciated.

enter image description here] enter image description here]

Upvotes: 0

Views: 266

Answers (2)

Neo
Neo

Reputation: 1369

Apps also need location permission for BLE scans now.does this sample has location permission at Runtime?

PS. posted this as answer after @user2551017 said it resolved the issue

Upvotes: 2

user2551017
user2551017

Reputation: 163

Solution: request the location permissions during runtime

Upvotes: 1

Related Questions