scientifichackers / flutter-wifi-connect

Dead simple WiFi connect functionality for flutter.
Other
23 stars 11 forks source link

[How To] Scan for available networks? #3

Closed pranjal-joshi closed 4 years ago

pranjal-joshi commented 4 years ago

Hello, First of all, I couldn't find this package on pub.dev so please let me know dependency to be added in pubspec.yaml file. Also, as I am new to Flutter, I could not able to understand how to Scan nearby SSIDs (Get a list) and then connect to one of them as per the user input.

A simple code snippet for scanning WiFi networks would be great! Also Do I need to add permissions explicitly in AndroidManifest.xml file to get access of WIFI and Location services?

ignertic commented 4 years ago

You just have to get the package from git. Check out this stackoverflow question that can help you https://stackoverflow.com/questions/54022704/how-to-add-a-package-from-github-flutter