Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem statement

The app needs to perform critical data capture and display operations even without an active internet connection.

In scope

  1. Ensure that the dynamic registration/delivery forms are cached locally

  2. Use the cached dynamic forms to get user input and save the data locally.

  3. Once the device is back online, sync the locally saved data to the remote server.

  4. The user-facing form components must be localized. As such, the form-specific localization dictionaries need to be cached offline as well.

  5. Critical information (eg SoS contacts) needs to be persisted locally. For V1, this information can be static.

Login Flow

The user will be allowed to log in with their credentials and will receive access_token and refresh_token on successful authentication. The tokens will be stored in a secure cache. The Login flow cannot be completed without an active internet connection.Login Flow