radar-sdk-android
radar-sdk-android copied to clipboard
Beacon ranging consistently times out for older Android phone
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
- Create a Button that calls
trackOnce
withbeacons = true
- 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 Thanks, that's great feedback. Yes, we'll look into making these timeouts customizable in a future release.