@accron wrote:
I noticed that my Capacitor based app closed within only a few minutes after it was suspended/running in the background, and thus lose all state when you return to it (it’s an Android only app). This is on a phone with 8GB of RAM.
A couple of questions:
- Is there a trick/hack to prevent the OS from closing the app when suspended?
- Aare the typical lifecycle hooks (unmount, etc.) executed when an app is closed by the OS?
Posts: 1
Participants: 1