My app restarts from splash when woken from background


#1

Hi,
My app restarts from splash when woken from background.
I see this issue when app is in background mode for about 3 ~ 5 mins.
I have read articles that Android or iOS can kill apps when resources are needed, but other apps don’t restart.
Do you have any idea why?

Thanks


#2

Well the OS frees resources if they are needed. So if your app is idle or low priority it will get cleared so that other apps can use the resources. This is especially prominent on lower budget phones where resources are scarce.


#3

But most apps never restart when woken from background.


#4

It is quite interesting. Have you tried testing you app on various types of devices to try and replicate the problem?


#5

I’m sorry that I didn’t.
I think that I don’t need to do it.
Because other apps work well on the same device.


#6

Well I have no idea how to replicate the problem, or what might be the couse for it.