You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app when it runs on Android app shows correct toasts based on the device internet connectivity. On WSA, it always shows as connected. I switched off my WiFi and turned on airplane mode on Windows 11 laptop to make the WSA offline.
Does WSA use something else instead of laptop's connectivity status to determine if it is offline?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to detect when Internet connection is lost in my app and perform certain operations accordingly. I am using following to detect the connection
I have a button in my app whose listener is set as following:
The app when it runs on Android app shows correct toasts based on the device internet connectivity. On WSA, it always shows as connected. I switched off my WiFi and turned on airplane mode on Windows 11 laptop to make the WSA offline.
Does WSA use something else instead of laptop's connectivity status to determine if it is offline?
Beta Was this translation helpful? Give feedback.
All reactions