This belongs to the genre of inexplicable things
Usually timers are pretty reliable. However I found that in certain cases they may not be performed and I can only suggest at the reason why.
I encountered such case lately when in one of my games I load a splash screen and begin a lengthy process of loading DB, calling ad networks, connecting to google play network etc. after all is done, I call a code to remove the splash. I also have a timer which after 3 seconds removes the splash anyhow just in case something goes wrong or there is a lengthy delay.
This method will not always work. It seems that either when the app is suspended for a while so that the timer period has already passed, or alternatively something internally fails than the timer is not executed. Â I usually see this when google play attempts to sign in the user in a very low bandwidth environment.Â
Have you encountered such issue?
I’m looking for better means to ensure that this piece of code is executed.