0 purchases
wifi connector
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/>
copied to clipboard
Add hot spot configuration capability to Runner.entitlements
<key>com.apple.developer.networking.HotspotConfiguration</key>
<true/>
copied to clipboard
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" />
copied to clipboard
Usage #
Connect to public wifi
await WifiConnector.connectToWifi(ssid: ssid);
copied to clipboard
Connect to private wifi
await WifiConnector.connectToWifi(ssid: ssid, password: password);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.