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
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
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
Uh oh!
There was an error while loading. Please reload this page.
-
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