Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loadWifiList when device screen off #6

Open
EmaSciacca opened this issue Nov 13, 2016 · 2 comments
Open

loadWifiList when device screen off #6

EmaSciacca opened this issue Nov 13, 2016 · 2 comments

Comments

@EmaSciacca
Copy link

Hi,

I would like to periodically invoke loadWifiList function in order to log nearby Wifi networks data.
In order to log this data even if the app is not in foreground I'm using an external library (react-native-background-timer). However, when device screen is switched off, the application keeps on logging periodically wifi data but it doesn't refresh them, that is it continues to log the data it retrieved the last time the screen was on.
When the screen is switched on again, the app logs new data correctly.

Is there a way to make the app refresh wifi data even if the screen is switched on?

I'm testing my app on an android device with 5.1 OS version

@SkyTreasure
Copy link

Hi @EmaSciacca were you able to find any solution for this?

@jdegger
Copy link

jdegger commented Jun 25, 2019

We are also seeing this behavior. However since this issue has been open since 2016 we are expecting this won't be fixed anytime soon?

Anybody any pointers to why this is happening? We are not seeing this behavior on all phones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants