React-native-ble-plx: Can not run 'long live' in the background

Created on 11 Aug 2017  路  5Comments  路  Source: Polidea/react-native-ble-plx

Hi,
I found it can only run 25minutes if the screen is off and running in the background. After that scanning is stopped but the app is not killed.
Is it possible to scan ble in the background as long as phone is powered? My phone is Android 7.1

stale

Most helpful comment

As with @adyanced, I need this to scan 24/7. In my case, background scanning is the primary use of my app to monitor for the presence of beacons.

All 5 comments

Can you post the code you used to configure background mode to make it work even for the first 25 minutes? I couldn't make it work in background at all, and posted this question. I'm also interested in getting a long lived background mode.

In which case(s) you need to keep app scanning in background?

As with @adyanced, I need this to scan 24/7. In my case, background scanning is the primary use of my app to monitor for the presence of beacons.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Any updatee?

Was this page helpful?
0 / 5 - 0 ratings