EyeSeeTea / pictureapp

Mobile application designed to report cases of malaria (to a DHIS2 server)
GNU General Public License v3.0
4 stars 4 forks source link

Feature show timeout errors #2370

Closed xurxodev closed 5 years ago

xurxodev commented 5 years ago

:pushpin: References

:tophat: What is the goal?

Show messages (toast) to the user when a timeout occurs loading a web page and on push process.

:gear: branches

app: Origin: feature_show_timeout_errors: v1.4_connect bugshaker-android: Origin: downgrade_gradle_version EyeSeeTea-sdk: Origin: Development

:memo: How is it being implemented?

:boom: How can it be tested?

Use Case 1: modify a web_view_timeout_millis key in donotranslate to 100 for example. Execute the app and the message 'There are network problems loading the web page' should be shown when a page is loaded.

Use Case 2: modify DEFAULT_TIMEOUT constanteReferralsAPIClient to 100 for example. Execute the app, create a new survey and execute push, the message 'There is network problems on push process' should be shown.

:floppy_disk: Requires DB migration?

:art: UI changes?

xurxodev commented 5 years ago

@ifoche now when a timeout is reached I stop the web loading