https://github.com/wonjerry/flutter_wifi_connector
Flutter plugin for connecting to wifi
https://github.com/wonjerry/flutter_wifi_connector
dart flutter flutter-app flutter-plugin kotlin swift4 wifi wifi-modules
Last synced: about 2 months ago
JSON representation
Flutter plugin for connecting to wifi
- Host: GitHub
- URL: https://github.com/wonjerry/flutter_wifi_connector
- Owner: wonjerry
- License: mit
- Created: 2019-11-24T15:47:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-20T11:34:21.000Z (about 1 year ago)
- Last Synced: 2025-03-24T01:23:01.916Z (2 months ago)
- Topics: dart, flutter, flutter-app, flutter-plugin, kotlin, swift4, wifi, wifi-modules
- Language: Kotlin
- Homepage: https://pub.dev/packages/wifi_connector
- Size: 82 KB
- Stars: 8
- Watchers: 3
- Forks: 19
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# wifi_connector
## Prerequisite
- iOS
- Change development target to 11.0
- Add hot spot configuration capability to Runner.entitlements
```
com.apple.developer.networking.wifi-info
```- Add hot spot configuration capability to Runner.entitlements
```
com.apple.developer.networking.HotspotConfiguration
```
- Android- Add wifi permissions to `AndroidManifest.xml`
```
```## Usage
- Connect to public wifi
```dart
await WifiConnector.connectToWifi(ssid: ssid);
```
- Connect to private wifi
```dart
await WifiConnector.connectToWifi(ssid: ssid, password: password);
```