AnsweredAssumed Answered

IOS 11 Suspended State

Question asked by pwin01 on Nov 19, 2017
Latest reply on Nov 20, 2017 by NManocha-esristaff

Hello Everyone,
I am building a location tracking app that sends out user's location to external server on fixed intervals (I'm using Timer to achieve this). This works as intended on Android and on my iPad which is running IOS 9.3.1.
However, on my iPhone (11.0.2), the app will go into suspended state after the app is in the background or when the screen is locked for about 20 minutes. When this happens, the app will stop processing (sending the location) and it will resume again when the app is reopened (returned to Active state). Is there anyway to stop this from happening?
 
Edit: I've enabled "Background Location" in the capabilities and have also tried using Position Source as suggested here but still stops working after 10 to 20 minutes. 

Thanks,
Patrick Win.  

Outcomes