core location - iOS Background Execution and Preventing an App from being suspended/terminate -


I am working internally distributed iOS app (i.e., no app store), and I would like to be the device Able to report the location of 10 minutes continuously.

However, I have included the UIBackgroundModes as a key in the Location field in my plugin, hoping that my app has background It would be enough to keep alive, while every 10 minutes I used to run the timer. However, I have come to know that, in some circumstances, the app stops reporting these incidents, I suspect that the app is being moved to a suspended state, even if memory obstacles are terminated due to my own Used devices to analyze memory footprint, and I have rejected fugitive memory allocation as a reason for the end.

How can I stop running my app in a suspended state? Docs This Location says about background mode:

Enabling this mode prevents the system from not suspending the application, but it tells the system that whenever the location is new To distribute the data,

is great so it can be suspended, but new location data will allow it to wake up again. But what if there is no new location data? Can I stop suspending from the app? Probably using a different background mode?

Any help greatly appreciated!

you try:

But this will drain your battery faster!

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -