Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback when isConnectedViaWiFiWithoutInternet changes #77

Open
camhart opened this issue Sep 13, 2023 · 0 comments
Open

Callback when isConnectedViaWiFiWithoutInternet changes #77

camhart opened this issue Sep 13, 2023 · 0 comments

Comments

@camhart
Copy link

camhart commented Sep 13, 2023

Is your feature request related to a problem? Please describe.
I need to monitor when isConnectedViaWiFiWithoutInternet changes (even when a mobile data connection is maintained). The whenConnected callback isn't called when isConnectedViaWiFiWithoutInternet changes, I assume due to the cellular connection being the one offering the internet access.

Describe the solution you'd like
A callback that's triggered when isConnectedViaWiFiWithoutInternet changes. It could make sense to trigger the callback on changes to any of the following:

var isConnectedViaCellular: Bool
var isConnectedViaWiFi: Bool
var isConnectedViaCellularWithoutInternet: Bool
var isConnectedViaWiFiWithoutInternet: Bool

Great library, thank you for building/maintaining it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant