AltBeacon/android-beacon-library

Distance calculator not set. Distance will bet set to -1 error

Opened this issue · 0 comments

BeaconScan stops when the screen is off on Android 14 and 15, so I tried using 2.21.0-beta4, but now I get the following error in LogCat

Distance calculator not set. Distance will bet set to -1

Is there some setting I need to do to prevent this error from showing up?

Also, is this error only appearing in Beta and will it disappear in the official release version?

Actual behavior

Error message appears when using 2.21.0-beta4

Steps to reproduce this behavior

Use 2.21.0-beta4

Mobile device model and OS version

Google Pixel7 Android15
Google Pixel6a Android14

Android Beacon Library version

android-beacon-library:2.21.0-beta4

IMPORTANT: This forum is reserved for feature requests or reproducible bugs with the library itself. If you need help with using the library with your project, please open a new question on StackOverflow.com.