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

Not Working in Background #22

Closed
extremechatter opened this issue Oct 10, 2015 · 5 comments
Closed

Not Working in Background #22

extremechatter opened this issue Oct 10, 2015 · 5 comments

Comments

@extremechatter
Copy link

Hi, Thank you so much for your hard work.

I am trying to detect change in Activity type while the app is in background. It works perfectly in foreground but doesn't work in background. I have enabled background location update mode.

Thank you for your help.

@arturdev
Copy link
Owner

Are you sure that you added NSLocationAlwaysUsageDescription key in you Info.plist file?

@extremechatter
Copy link
Author

Yes. It asked for authorisation on first installed. Also checked the privacy of locations. The app is listed and shows: Always. Is there any code I need to put in application entered background option, in appdelegate?

@extremechatter
Copy link
Author

I am just looking to find out when the state switches between not moving and automotive and then process a set of code accordingly. All this happens while the app is in background.

All your help will be appreciated.

Thank you

@johnnyshankman
Copy link

@arturdev
Copy link
Owner

fixed

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