wifi_iot
0.4.0, released 3 months ago by bhikadia.com
Flutter plugin to handle Wi-Fi connections and hotspot (AP, STA) on Android and iOS
What it does
Allows Flutter apps to manage Wi-Fi connections, view network status, connect/disconnect from Wi-Fi networks in WPA/WEP, and handle Access Point (AP) features on supported platforms. Provides functions for reading SSID, BSSID, IP, signal strength, and forcing Wi-Fi traffic routing.
AI-written summary of version 0.4.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to connect your Flutter app directly to specific Wi-Fi networks programmatically
- You need to check current Wi-Fi connection info like SSID, BSSID, and IP address
- You need to manage local-only hotspots or Wi-Fi access points on Android
Skip it when
- You need robust, modern Wi-Fi network scanning (the scanning feature is discontinued; use wifi_scan instead)
- You are building for iOS and require full control over Wi-Fi module enabling/disabling or advanced AP configurations (not supported on iOS)
- You only need basic internet connectivity checks (use connectivity_plus instead)
Strengths
- Provides fine-grained control over Wi-Fi connections and network registration
- Supports forcing traffic routing via connected access point (`forceWifiUsage`)
- Cross-platform support for both Android and iOS with tailored capabilities
Weaknesses
- Many features have strong limitations, deprecations, or are completely unavailable on iOS due to Apple's platform restrictions
- Android SDK updates (SDK >= 26 and >= 29) significantly restrict Wi-Fi AP and module management behaviors
- Scanning functionality is discontinued in this package
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 0
Requires specifying `use_frameworks!` in your iOS Podfile. Certain Android functions require explicit permissions (like CHANGE_WIFI_STATE or WRITE_SETTINGS) depending on usage.
bool result = await WiFiForIoTPlugin.connect('SSID', password: 'PASSWORD', security: NetworkSecurity.WPA);Alternatives
Packages that do the same job and could replace wifi_iot.
- connectivity_wrapper
Provides network-aware widgets and connectivity feedback for Flutter applications.
83Compare - plugin_wifi_connect
Connects mobile devices to Wi-Fi networks using a specific SSID or SSID prefix.
77Compare - connectivity_checker
Provides network-aware widgets and checks internet connectivity status.
39Compare
Works with
Packages commonly used together with wifi_iot: ones it builds on, ones built on it, and its own family.