Skip to content

feat(wifi_iot): support WPA2 and WPA3-Personal networks - #438

Open
JarenFeng wants to merge 1 commit into
flutternetwork:masterfrom
JarenFeng:feat/wpa3-support
Open

JarenFeng wants to merge 1 commit into
flutternetwork:masterfrom
JarenFeng:feat/wpa3-support

Conversation

@JarenFeng

Copy link
Copy Markdown

Android connections previously used WPA2 passphrase configuration for WPA3 networks. Add explicit WPA2 and WPA3-Personal (SAE) security types while preserving the existing WPA behavior and boolean connection APIs.

  • Configure Android network specifiers, suggestions and registration with the selected security type.
  • Recognize SAE scan results and fall back to PSK on WPA2/WPA3 transition networks when the device cannot use SAE.
  • Reject WPA3 on unsupported Android versions/devices and handle the new security values in the iOS hotspot configuration.
  • Document that the password-based API supports WPA3-Personal, not WPA3-Enterprise.

Validation:

  • Android example debug APK built with Flutter 3.47.1 / Dart 3.13.1.
  • Swift implementation type-checked against the iOS simulator SDK with an iOS 13 deployment target.
  • flutter analyze --no-pub passed for wifi_iot; Java and Swift formatting checked using the project tooling.
  • Both proposed PRs merge cleanly; combined connection tests and Android build checked.

Physical-device WPA2/WPA3 association testing has not been performed during this preparation. Package version and release changelog remain unchanged.

Related: #427.

Add explicit WPA2 and WPA3-Personal security types so Android uses the
matching passphrase configuration when requesting or registering networks.
Recognize SAE scan results and retain PSK fallback for transition networks
on devices without SAE support. Reject unsupported WPA3 connections.

Handle the new security values on iOS and document platform limitations.
Preserve the existing WPA behavior and boolean connection APIs.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant