Fallback when GPlay API or Cleanapk API isn't available or times out in Categories, Search and Update tabs
Summary
We want to handle the scenario where Aurora OSS Play Store API or CleanAPK API times out when on Categories, Search or Update tabs.
Description
What is the current behavior?
If the Play Store API time out, we will display a message to inform users there is an issue https://gitlab.e.foundation/e/backlog/-/issues/5354
What is the improved behavior?
1. In Update tab if GPlay API isn't available
Display a pop-up saying
Some network issue is preventing fetching all applications.
Open Settings to look for Open source apps or PWAs only.
Below the text there are 2 buttons: Retry
and Open Settings
-
Retry
also refreshes the token in background. -
Open settings
brings the user to the settings where theShow applications:
section is highlighted. - The back button dismisses the pop-up.
This pop-up must be displayed in the following tabs: Home done, Updates
2. In Update tab if CleanAPK API isn't available
Display a pop-up saying
Some network issue is preventing fetching all applications.
Below the text there is only one button: Retry
-
Retry
also refreshes the token in background. - The back button dismisses the pop-up.
This pop-up must be displayed in the following tabs: Home done, Updates
3. In Categories and Search tabs if either GPlay API or CleanAPK API isn't available.
Display a pop-up saying
Some network issue is preventing fetching all applications.
Below the text there are 2 buttons: Retry
and OK
-
Retry
also refreshes the token in background. -
OK
dismisses the pop-up as well as the back button.
This pop-up must be displayed in the following tabs: Categories, Search
What does it bring?
Doesn't let the user without option when there is an issue
Examples
Validation
Checklist
-
License -
Translations -
Documentation -
Test plan