Replies: 7 comments
-
Hello HppZ, thank you for opening an issue with us! I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌 |
Beta Was this translation helpful? Give feedback.
-
and my app can't access network. |
Beta Was this translation helpful? Give feedback.
-
@HppZ we're not doing anything special here and just relying on the System APIs. If you hook to the underlying We then call The only logic we do is in What are these APIs returning for your app? That'd help determine if this is an underlying system API issue or an issue with our heuristic. |
Beta Was this translation helpful? Give feedback.
-
actually I want to detect if this switch is on or off for my app, but found no way. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure, I would have suspected the APIs I pointed to that we're using in the Toolkit may provide some indication, but I believe that switch/feature for apps was added later. If you could do some investigating and report back about what those APIs report with the switch enabled/disabled that could give us a starting point to investigate this issue further. |
Beta Was this translation helpful? Give feedback.
-
moving to microsoft/WindowsAppSDK#1139 |
Beta Was this translation helpful? Give feedback.
-
Thanks @HppZ for digging deeper and opening an issue on the Windows App SDK! 🦙❤ Looks like there's a good discussion there. @andrewleader if we do find there's an existing API for this scenario we can look at adding a case in the Toolkit; otherwise, it looks like you have a handle in the new SDK now! Thanks! |
Beta Was this translation helpful? Give feedback.
-
NetworkHelper.Instance.ConnectionInformation.IsInternetAvailable is True even when WLAN switch is off for my app.
Beta Was this translation helpful? Give feedback.
All reactions