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

Detection in background? #25

Open
eggman87 opened this issue Mar 24, 2016 · 3 comments
Open

Detection in background? #25

eggman87 opened this issue Mar 24, 2016 · 3 comments

Comments

@eggman87
Copy link

I am using the library and am trying to detect activity in the background. It works great for a while but after around 30 minutes idle in the background - updates stop occurring....Is this expected behavior?

Should updates continue until stop tracking is called (even when in background)?

I have followed instructions around configuration for background updates (plist, property on shared instance, etc...).

Running on iPhone 5s with 9.3.

@sanderpick
Copy link
Contributor

Hey @eggman87, did you ever sort this out. Seeing the same thing.

@eggman87
Copy link
Author

Was not able to get it to work. I ended up using location manager directly to fit my needs. I was trying to use this library to only track location when the user is in a car moving....

@sanderpick
Copy link
Contributor

It's because location updates are paused by the OS. I opened a PR which lets you listen for that event.

#26

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

2 participants