status-mobile icon indicating copy to clipboard operation
status-mobile copied to clipboard

🟥 Make app work in offline state [Exploration]

Open shivekkhurana opened this issue 1 year ago • 2 comments
trafficstars

Feature Issue

User Story

As a user, I want the app to continue working, when I go offline so that

  • I don't panic to see zero balances
  • I can still check my NFTs
  • I can still use other parts of the app (like settings that don't need any internet connection)

Description

Currently, if the user goes offline, the app panics. This is fixed at surface level by issues like:

  • #21055
  • #21067
  • https://github.com/status-im/status-mobile/pull/21074#pullrequestreview-2243161315
  • https://github.com/status-im/status-mobile/issues/21043
  • https://github.com/status-im/status-mobile/issues/18647

But we still need to have some indicators that the app is in offline state. This issue is related to #21071. And will need fixes at UI, Clojure and Go level.

Acceptance Criteria

  • [ ] The app should behave well when offline
  • [ ] (Exploration) Parts of app that don't need internet should work as intended (settings, signup, etc)
  • [ ] (Exploration) Parts of app that do need internet should try to fallback on cache (wallet balances)
  • [ ] The user should be made aware that he is offline
  • [ ] (Exploration) Parts of app that cannot work without internet should have offline warnings
  • [ ] User should be able to signup
  • [ ] User should be able to change settings
  • [ ] If the user tries to use swap, he should see an offline label somewhere
  • [ ] If the user tries to use buy crypto, he should see an offline label somewere

Notes

We will need to split this into smaller issues.

shivekkhurana avatar Aug 16 '24 14:08 shivekkhurana

Also relatable: https://github.com/status-im/status-mobile/issues/18647

churik avatar Aug 16 '24 21:08 churik

Related issue: https://github.com/status-im/status-mobile/issues/21056

churik avatar Aug 28 '24 12:08 churik

Closing this epic as most of it is solved.

shivekkhurana avatar Feb 07 '25 11:02 shivekkhurana