Open prakharb5 opened 1 year ago
Can't reproduce, the connectivity manager ensures that the request goes through wifi, can you mention your device and android version?
Works if I turn off the mobile data and turn it on just after that. I don't think we can do this programmatically without root access.
@mmjsmohit Are you getting login timeout error with mobile data on?
Can't reproduce, the connectivity manager ensures that the request goes through wifi, can you mention your device and android version?
@sparshg My device is Samsung Galaxy A52s, running android 13 (OneUI 5.0)
Is it possible that the bug could be due to Samsung's feature of switching to mobile data when there is no internet over wifi?
Can you try with that feature switched off?
Also when the background service is on, and the wifi is then turned on, does it automatically run the script on connection? (Do you get login successful or timeout error without login tile?)
I tried it out with that feature switched off.
Somehow, the mobile data still remained connected along with wifi (could be a bug, not sure)
Turning off mobile data, and then connecting wifi logged in successfully. I get login successful without the login tile too. No disruption on turning on mobile data.
I guess the conclusion is that the Samsung's "switch to mobile data" feature is messing with the app
It is not just about the status not getting updated. It actually was failing to log into the wifi
In the end, I had to manually login via my browser.