traccar-client-ios icon indicating copy to clipboard operation
traccar-client-ios copied to clipboard

How to get user location when app is killed/terminated in background state

Open kolindalanaresh opened this issue 8 years ago • 8 comments

how to get user location when app is terminated/killed by the user at background state.

kolindalanaresh avatar Feb 08 '17 11:02 kolindalanaresh

Obviously app can't do anything if it's terminated. Please clarify the question.

tananaev avatar Feb 08 '17 20:02 tananaev

traccar app is working in background and if it is terminated from background user location not getting according to apple there is an option startmonitoringsignificantlocationchanges. where to use this startmonitoringsignificantlocationchanges in traccar.

kolindalanaresh avatar Feb 09 '17 04:02 kolindalanaresh

Well, the startMonitoringSignificantLocationChanges method might actually do the trick. I would have to investigate it more and check where we can call it.

tananaev avatar Feb 09 '17 11:02 tananaev

Hi , Same issue have added in startMonitoringSignificantLocationChanges set always and allowed background refresh and set app as priority but still termination of connection even though IOS Traccar Client On Iphone 6, 6s and 7 90% devices with one device remaining constantly on. Is there specific iOS version issue or relates to iOS functionality over-riding app. Please help

Knowledgetreedata avatar Jan 17 '18 08:01 Knowledgetreedata

PS if you have direct email I can provide log in email and password to perform programme check and am happy to pay. 60% of driver offline due to iOS

Knowledgetreedata avatar Jan 17 '18 08:01 Knowledgetreedata

Email is public in my profile and in repo README file.

tananaev avatar Jan 17 '18 08:01 tananaev

Hi anton

Just a quick question tried to find a guide for data use assuming 60 seconds using iphone and android phone is australia. Do you have a sample sheet or guide for data usage. I know its dependent upon telecom provider but what data size is transferred as an estimate per 60 seconds

Knowledgetreedata avatar Jan 23 '18 01:01 Knowledgetreedata

There were some estimates on the forum. FIY, you are emailing to github thread.

tananaev avatar Jan 23 '18 01:01 tananaev