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

Add online cargo to check if user is online/offline #430

Open
tomaszantas opened this issue Jul 18, 2022 · 0 comments
Open

Add online cargo to check if user is online/offline #430

tomaszantas opened this issue Jul 18, 2022 · 0 comments
Labels

Comments

@tomaszantas
Copy link

tomaszantas commented Jul 18, 2022

The frontend uses check_internet_connection command to check whether the app is online or offline.
Now, the command always returns true. It can be fixed with online crate

Motivation:

This feature has been moved partially to the backend, because the frontend (Javascript) do this job partially.
The Javascript's online listener detects only if the machine is connected to the router. So if it's not connected to the router, it returns offline. But if it's connected to the router, but router is not connected to the Internet, it also returns it as online.

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

No branches or pull requests

1 participant