Search code examples
flutterconnectionwifi

Flutter: How to detect my office Wi-Fi connection


Can Flutter detect that I'm using a Wi-Fi connection in my office? So, suppose I am connected to Wi-Fi in the office, the application will detect it. However, the application can still be run using any connection.


Solution

  • Thanks for all of you who answered. After I found out from Can BSSID be used as an unique identifier?, then I use the wifi_info_plugin plugin. I use the BSSID or what is called the WLAN MAC Address, the BSSID is unique enough to be used as a detector.