status-mobile
status-mobile copied to clipboard
🟥 Make app work in offline state [Exploration]
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.
Also relatable: https://github.com/status-im/status-mobile/issues/18647
Related issue: https://github.com/status-im/status-mobile/issues/21056
Closing this epic as most of it is solved.