react-native-beacons-manager
react-native-beacons-manager copied to clipboard
Stop detecting beacons after 30 minutes
Version
I'm using @newoceaninfosys ' fork: github.com/newoceaninfosys/react-native-beacons-manager/
Platform
Android
OS version
android 8.0 react native 0.61.2
Steps to reproduce
- Start background scan
- Wait 30 minutes
Hello, I run a task to scan the beacons. For that I added a log file to each scan which makes me go up the detected beacons. It works fine for 30 minutes, after its 30 minutes, the scan no longer detects beacons. I get a log file with an empty array.
Anyone would know how to fix the problem where would have a track? Thank you
Sure, can you try to add theses lines in the AndroidManifest.xml
<service android:name="org.altbeacon.beacon.service.BeaconService" tools="replace">
<meta-data android:name="longScanForcingEnabled" android:value="true"/>
</service>
Sorry but I don't use this library on IOS.
Hi, this is because of timer of scanning. And check the monitoring sync interval In my case, I adjust the below codes and okay