Closed sukesh0096 closed 2 years ago
Use the network_info_plus
package to get the WiFi SSID and BSSID of the user (and the connectivity_plus
package if your app needs it). You might also need the permission_handler
to ask the user for permission for your app to be able to access the WiFi details.
The example app uses platform specific code (you can find it here on iOS and here on Android) that is part of the example app.
We have an issue (#10) for updating the example app, community contributions are welcome.
For real apps, I recommend you use the plugins that I mentioned above in the first paragraph of this comment.
can't fetch current wifi ssid and bssid.
getting the below error.
ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: MissingPluginException(No implementation found for method ssid on channel eng.smaho.com/esptouch_plugin/example)