Closed Spectra6170 closed 1 year ago
For background detections on OnePlus devices you must have the user disable battery optimization for your app as described here:
https://dontkillmyapp.com/oneplus
The recommended approach for apps is to detect a OnePlus device and instruct the user to perform those steps in order for the app for perform the background functions.
If you still have trouble after disabling battery optimization as described above, please test with the official reference app here: https://github.com/davidgyoung/android-beacon-library-reference-kotlin and attach a LogCat excerpt showing all system-level logs (not filtered for your application) for a 60 second + period where you:
One Plus devices not detecting any beacon device with ble when application is in background mode or closed.