-
-
Notifications
You must be signed in to change notification settings - Fork 843
Configure pausesLocationUpdatesAutomatically in iOS (Fixes Issue#951, Supersedes PR#992) #933
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
Conversation
bartekpacia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thanks for contributing.
Please take a look at comments. Also, I'm curious to learn what's the use-case of this feature. Why do you need it?
|
on IOS devices, location updates in background are paused automatically depending on activity detected by device, so if you have an app that needs to keep getting locations like a tracking app you need to set this parameter in false. |
That is exactly our use-case. The app needs to track the location of the user even when the app or the device is not actively used. |
|
Hi @bartekpacia , I have rebased the changes and updated tests. Please review. |
… Supersedes PR#992)
bartekpacia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, i only have some tiny dartdoc suggestions
thank you!
packages/location_platform_interface/lib/location_platform_interface.dart
Outdated
Show resolved
Hide resolved
packages/location_platform_interface/lib/src/method_channel_location.dart
Outdated
Show resolved
Hide resolved
Co-authored-by: Bartek Pacia <barpac02@gmail.com>
…ation updates in iOS