-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
HacktoberfestIssues taking part in HacktoberfestIssues taking part in HacktoberfestenhancementNew feature or requestNew feature or requesttriage
Description
Plugin
connectivity_plus
Use case
I would like to check, whether Wi-Fi is turned on or off. I don't care, if there is an internet connection available or not. Same for mobile data.
Currently when I have Wi-Fi enabled but it's not connected to any network, I get ConnectivityResult.none.
Proposal
I'd expect the Connectivity::checkConnectivity() method to return which hardware features (Wi-Fi, mobile data) are turned on and not through which hardware the internet connection is established.
Maybe another method would suite that use case better like
Future<List<ConnectivityResult>> getConnectivityHardwareStates()
Metadata
Metadata
Assignees
Labels
HacktoberfestIssues taking part in HacktoberfestIssues taking part in HacktoberfestenhancementNew feature or requestNew feature or requesttriage