Skip to content

PWA: Handle no network connectivity #10

Open

Description

@luhmann

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

Activity

  1. luhmann commented on Sep 18, 2017

    @luhmann
    OwnerAuthor

    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
  2. luhmann commented on Sep 19, 2017

    @luhmann
    OwnerAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions