Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

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

Open
frankkkkkkkkkkkk opened this issue Oct 26, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@frankkkkkkkkkkkk
Copy link

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 frankkkkkkkkkkkk added the bug Something isn't working label Oct 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant