Skip to content

Controlled mandatory codepush UX

Summary

The mandatory codepush now lets the user use the app and once the codepush is downloaded it will restart the app. This causes bad UX since the user could be writing a comment or posting something in the meanwhile. Ideally, we should either keep the user waiting on a splash screen, prevent the unexpected restart, or show a mandatory update prompt. Or a combination of these solutions

Steps to reproduce

  • do a mandatory codepush
  • open the app
  • notice that at some point the app will get restarted

Platform information

all

What is the current bug behavior?

app unexpectedly restarts

What is the expected correct behavior?

restart should be controlled. The mandatory update UX should be taken care of

Relevant logs and/or screenshots

N/A

Possible fixes

  • if the app is on cold start show a screen showing download or just wait + progress bar
  • if the app is moved to the background or comes to foreground.
Edited by Vali