wifi_connector 2.0.0 copy "wifi_connector: ^2.0.0" to clipboard
wifi_connector: ^2.0.0 copied to clipboard

Flutter plug-in for connecting to wifi.

wifi_connector #

Prerequisite #

  • iOS

    • Change development target to 11.0

    • Add hot spot configuration capability to Runner.entitlements

          <key>com.apple.developer.networking.wifi-info</key>
          <true/>
      
    • Add hot spot configuration capability to Runner.entitlements

          <key>com.apple.developer.networking.HotspotConfiguration</key>
          <true/>
      
  • Android

    • Add wifi permissions to AndroidManifest.xml

          <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
          <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
      

Usage #

  • Connect to public wifi

    
    await WifiConnector.connectToWifi(ssid: ssid);
    
    
  • Connect to private wifi

    
    await WifiConnector.connectToWifi(ssid: ssid, password: password);
    
    
21
likes
130
pub points
76%
popularity

Publisher

unverified uploader

Flutter plug-in for connecting to wifi.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on wifi_connector