SOMotionDetector
SOMotionDetector copied to clipboard
Detection in background?
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.
Hey @eggman87, did you ever sort this out. Seeing the same thing.
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....
It's because location updates are paused by the OS. I opened a PR which lets you listen for that event.
https://github.com/SocialObjects-Software/SOMotionDetector/pull/26