traccar / traccar-client-ios

Traccar Client for iOS
https://www.traccar.org/client
Apache License 2.0
213 stars 309 forks source link

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

Open kolindalanaresh opened 7 years ago

kolindalanaresh commented 7 years ago

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

tananaev commented 7 years ago

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

kolindalanaresh commented 7 years ago

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.

tananaev commented 7 years ago

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

Knowledgetreedata commented 6 years ago

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 commented 6 years ago

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

tananaev commented 6 years ago

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

Knowledgetreedata commented 6 years ago

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

tananaev commented 6 years ago

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