op_wifi_utils 1.1.0 copy "op_wifi_utils: ^1.1.0" to clipboard
op_wifi_utils: ^1.1.0 copied to clipboard

A lightweight Flutter plugin using modern Android and iOS APIs to connect to Wi-Fi, disconnect, and retrieve the current SSID, based on OpResult for structured error handling.

Changelog #

1.1.0 - 2025-04-14 #

  • Improved connectToWifi behavior on iOS:
    • Handles iOS error code 2 (invalid password format) and maps it to INVALID_PASSWORD.
    • Verifies actual connection by comparing current SSID after a short delay.
    • Distinguishes SSID_NOT_FOUND from other connection issues.
  • Improved connectToWifi behavior on Android:
    • After onAvailable, verifies the actual connected SSID.
    • If the SSID doesn't match the expected one, returns INVALID_PASSWORD to indicate likely credential issues.

1.0.1 - 2025-04-03 #

  • README and pubspec wording improved for clarity and consistency

1.0.0 - 2025-04-03 #

  • Initial release 🎉
  • Connect to Wi-Fi with optional password (iOS and Android)
  • Disconnect from Wi-Fi network
  • Check current connected SSID
  • Full OpResult-based error handling
  • joinOnce option supported on iOS
  • Example app included for both platforms
2
likes
0
points
59
downloads

Publisher

verified publishercantini.dev

Weekly Downloads

A lightweight Flutter plugin using modern Android and iOS APIs to connect to Wi-Fi, disconnect, and retrieve the current SSID, based on OpResult for structured error handling.

Homepage

License

unknown (license)

Dependencies

flutter, op_result

More

Packages that depend on op_wifi_utils

Packages that implement op_wifi_utils