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

PWA: Handle no network connectivity #10

Open
luhmann opened this issue Sep 17, 2017 · 2 comments
Open

PWA: Handle no network connectivity #10

luhmann opened this issue Sep 17, 2017 · 2 comments

Comments

@luhmann
Copy link
Owner

luhmann commented Sep 17, 2017

Find a suitable behavior for the app when there is no network connection.

@luhmann
Copy link
Owner Author

luhmann commented Sep 18, 2017

There is one case where this is more than "nice-to-have":

Steps to reproduce:

  • A device was online and the user is experiencing the app
  • He locks the device
  • He reactivates the devices and network-access is not immediately available (e.g. searching for wifi)
  • A scheduled, non-user-initiated network-request occurs

Actual behavior

  • The devices immediately displays an error screen, cause the network connection could not be established

Expected behavior

  • The app should detect a network error which suggests that it might be temporary and suspend going into an error state until a user-initiated-action occurs.
  • Additionally some kind of retry might be possible

@luhmann
Copy link
Owner Author

luhmann commented Sep 19, 2017

Consider also creating a retry logic, for status codes > 500 ... issue is likely temporarily and should not require user interaction.

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

1 participant