Hi there, this is a very important issue. I have built a distance tracker for a running app using flutter. I have recently figured out on my One plus Nord CE phone that even though the background location thread is going on and the app is in the RAM, after some duration when I open the app, it gets reloaded and thus all the data about the run and the location tracking is gone for effective memory management by the OS. How do I stop this from happening? Since the background thread is running, shouldn't it automatically not be reloaded?
Hi there, this is a very important issue. I have built a distance tracker for a running app using flutter. I have recently figured out on my One plus Nord CE phone that even though the background location thread is going on and the app is in the RAM, after some duration when I open the app, it gets reloaded and thus all the data about the run and the location tracking is gone for effective memory management by the OS. How do I stop this from happening? Since the background thread is running, shouldn't it automatically not be reloaded?