Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Capacitor app closed when running in background

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>