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

Advance network status checker #281

Open
Nodrex opened this issue Dec 11, 2022 · 1 comment
Open

Advance network status checker #281

Nodrex opened this issue Dec 11, 2022 · 1 comment

Comments

@Nodrex
Copy link
Owner

Nodrex commented Dec 11, 2022

Android SDK has the ability to check whether the wifi/mobile data toggle is on/off, but it can not detect if a network is down, we need to write our own URL pinger.
So if there are no libraries to implement this functionality we can create our own and combine Androids Official API and URL pinger and create a new independent library, maybe even be multiplatform

@kdiakonidze
Copy link
Collaborator

we can check retrofit response for IOException, instead of pinging some url. There is no reason to display network status for user, if user does not using it.

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

No branches or pull requests

2 participants