radar-sdk-android icon indicating copy to clipboard operation
radar-sdk-android copied to clipboard

Beacon ranging consistently times out for older Android phone

Open victorcassone2 opened this issue 3 years ago • 1 comments

Summary

I was testing out the new beacon functionality on a Google Pixel XL and I was unable to range any beacons that were nearby. It looks like the ranging timeout is set to 5 seconds and on the Pixel XL it consistently goes over 5 seconds. I used a stopwatch and another BLE ranging app(kontakt.io's app) and it took about 7.5 seconds.

I then tested on a Pixel 4 XL and the ranging consistently came back as successful.

Either setting a higher ranging time or having the ability to increase the time myself via the SDK would help alleviate the problem.

Steps to reproduce

  1. Create a Button that calls trackOnce with beacons = true
  2. Trigger button and observe no beacons are returned on the RadarUser.

OS version

Android 10

SDK installation method

via Gradle.

SDK version

3.1.1

victorcassone2 avatar Apr 07 '21 18:04 victorcassone2

@victorcassone2 Thanks, that's great feedback. Yes, we'll look into making these timeouts customizable in a future release.

nickpatrick avatar Apr 08 '21 12:04 nickpatrick