We are developing a cross-platform application in which we want to continue tracking the user even if the app is in the background. We require that the
We have run into situations in which the app stops tracking. When examining the logs we notice that there will be a long period of no logging. We are logging 50 things a minute and then there is a 14 minute gape.
I understand that the OS (especially iOS) can suspend or kill an app if the OS needs to do this.
Can we log when an app is going to be killed, and when it is going to be suspended?
What can we do, if anything, to prevent the app from being suspended or killed?
I am fairly new to Xamarin. Any guidance would be greatly appreciated.