WiFiFlutter
WiFiFlutter copied to clipboard
[android] WifiManager.getScanResults requires location services to be enabled
Problem
Method such as - findAndConnect, handleNetworkScanResult uses this API, it fails if location service is disabled on the device.
Solutions
- warn/error if location service is disabled for methods
- add warning to README about it so that user can check this himself (could suggest using location_permissions).