Closed SSpormann closed 4 months ago
I have build a Sample-Project to show the error, you can download it here:
https://support.reiner-sct.de/test/WifiConnectBreaksTheInternet.zip
Playing with the used http implementation in build properties extended the error message differs, but the result stays the same.
With support for Classic Xamarin.Android ended May 1st, 2024, this issue is likely no longer relevant.
If this still persists in .NET 8+, please open a new issue with updated information based on net8.0-android
or greater. Please include a link to this issue for context.
Steps to Reproduce
Connect to a WIFI without InternetAccess from within the App using this Code:
Expected Behavior
I would imagine after the Restoration of a connection to a Wifi with an internetconnection that the Exception goes away.
Actual Behavior
But the behavior stais till you reboot the app, reusing the handler and reinitializing the handlerfactory seems unefective. But in this case I recieve a different exception.
Version Information
Testest on: Android Pixel 3a with Android 11: Xamarin version: 5.0.0.2125 and Xamarin Version 5.0.0.2083