WiFiFlutter icon indicating copy to clipboard operation
WiFiFlutter copied to clipboard

iOS Wifi Connect Succeeding when password is incorrect

Open MATTYGILO opened this issue 1 year ago • 0 comments

I am connecting to a wifi network I am already connected to. I run code:

// Connect to the wifi with the provided credentials
bool connected = await WiFiForIoTPlugin.connect(
    ssid,
    password: password
);

print("connected: $connected");

And it returns true even when the password is incorrect:

connected: true

Screenshot 2024-01-08 at 11 16 53

Why is this?

MATTYGILO avatar Jan 08 '24 11:01 MATTYGILO