This fix introduces several changes in splashscreen failsafe management:
More logging
Initial timer on "global" to handle scenarios where no showSplashScreen() are called
Use a map to allow multiple timers coexisting
On background handling (delete every timer)
On active handling (reset timers that existed before going to background to the timeout value, this will allow us to ignore all problems related to unreliable timeout in background mode, remember that these timeout should not be needed in normal circumstances)
Examples
Normal flow:
Going from active to background to active
On this one I had a bug (linked to hot reloading so can't say exactly what happened), but we can still see the timeout managed the issue in the end
This fix introduces several changes in splashscreen failsafe management:
Examples
Normal flow:
Going from active to background to active
On this one I had a bug (linked to hot reloading so can't say exactly what happened), but we can still see the timeout managed the issue in the end