Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

[Bug] Connectivity.ConnectionProfiles contains "Wifi" on Android 13

Open frankkkkkkkkkkkk opened this issue 3 years ago • 0 comments

Description

Steps to Reproduce

public static bool IsWlanConnection()
{
    var profiles = Connectivity.ConnectionProfiles;
    if (profiles.Contains(ConnectionProfile.WiFi))
    {
		return true;
    }
    return false;
}

Expected Behavior

Should return false if not connected to Wifi.

Actual Behavior

Returns true on Android 13

Basic Information

Target & Compile Version: 11.0 (Api Level 30-R) Minumum: 5.0 (Api Level 21) Latest Xamarin.Forms: 5.0.0.2515 Latest Xamarin.Essentials: 1.7.3

frankkkkkkkkkkkk avatar Oct 26 '22 06:10 frankkkkkkkkkkkk