-
Notifications
You must be signed in to change notification settings - Fork 321
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
Network.type is throwing as none after 24 hours of idle #64
Comments
What are the exact steps to reproduce this? Start with |
I can also confirmed that. |
@janpio Android 8.0 / 2.0.1 / 8.0.0 / ionic-angular |
@janpio Hi, This issue is only with android. Below is the dev environment Ionic v3.20.0 Phone Model : Nexus 5x - Android v7, Lenovo K4 Note - Android 6 This issue occurs in almost all tested mobiles.
Above sample snipet is used to check online/offline. Reproduce Steps: Consider application has a button which will consume rest services. Network will be checked before hitting rest services.
This issue will be resolved after killing and reopening the application |
Nice reproduction steps @iamroof - that should be enough for a developer to debug this. |
Same here and I've also problem in this case :
|
I'm having the same issue with version 2.0.1. I use an app the next morning and it says no network although i have WIFI. |
I am also having this issue on iOS, but for me, I just have to simply flick on airplane mode on and off for the network.type to always return NONE |
Create a new issue please @pjhartin as this seems to be a totally different issue (iOS instead of Android) than this one. Otherwise your problem will get lost. |
+1 |
What is the solution? |
+1 |
Is there any solution? |
Is there any alternative solution for this particular issue?? It seems like important |
the solution that it poses @PieterVanPoyer has solved the problem for me pm android, but in them there is iOS no solution, at the moment I am satisfied. |
Still seeing the issue with @PieterVanPoyer 's forked version. From my experience, it has been happening closer to the 36 hour mark. |
+1 |
network.connection.type is thorwing unknown in case of ios 14 in case of 4g connection. please help if anyone has faced this issue. |
-> I think you should make a comment on next issue: #97 |
After 24 hours of idle time, if I try to access network type, plugin throwing as none even though mobile is connected to network.
The text was updated successfully, but these errors were encountered: