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

outdated

Flutter plug-in for connecting to wifi.

wifi_connector_example #

Prerequisite #

  • iOS
  1. Change development target to 11.0

  2. Add hot spot configuration capability

  • Android
  1. Add wifi permissions
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.wonjerry.wifi_connector">

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

  • Connect to public wifi

await WifiConnector.connectToWifi(ssid: ssid);

Usage #

  • Connect to private wifi

await WifiConnector.connectToWifi(ssid: ssid, password: password);

21
likes
0
pub points
76%
popularity

Publisher

unverified uploader

Flutter plug-in for connecting to wifi.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on wifi_connector