This same problem was not witnessed on earlier Samsung OS versions and Pixel devices:
Samsung Galaxy A10 Android 11 (detections continue with screen off at 5-10 Hz)
Samsung Galaxy S23 Android 13 (detections continue with screen off at 3/sec)
Google Pixel 4a Android 14 (detections continue with screen off at 0.1 Hz)
It is unclear whether this is an Samsung bug for an intentional change.
No meaningful log lines are visible at a system level when this happens.
Expected behavior
Apps using the library's IntentScanStrategy will continue to detect beacons after the screen is turned off.
Actual behavior
After first launch of the app and the subsequent screen turn off, beacon detections stop. They resume as soon as the screen is illuminated again.
Steps to reproduce this behavior
Mobile device model and OS version
Samsung Galaxy S23 Android 14 Samsung Galaxy Tab 8 Android 14
Android Beacon Library version
2.20.4
This same problem was not witnessed on earlier Samsung OS versions and Pixel devices:
Samsung Galaxy A10 Android 11 (detections continue with screen off at 5-10 Hz) Samsung Galaxy S23 Android 13 (detections continue with screen off at 3/sec) Google Pixel 4a Android 14 (detections continue with screen off at 0.1 Hz)
It is unclear whether this is an Samsung bug for an intentional change.
No meaningful log lines are visible at a system level when this happens.