Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kolindalanaresh opened this issue Feb 8, 2017 · 8 comments

Comments

@kolindalanaresh
Copy link

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

@tananaev
Copy link
Member

tananaev commented Feb 8, 2017

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

@kolindalanaresh
Copy link
Author

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
Copy link
Member

tananaev commented Feb 9, 2017

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

@Knowledgetreedata
Copy link

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
Copy link

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
Copy link
Member

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

@Knowledgetreedata
Copy link

Knowledgetreedata commented Jan 23, 2018 via email

@tananaev
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants