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

[Enhancement proposal]: (iOS) Use new location apis to allow background location updates. #1567

Open
4 of 8 tasks
aanelson opened this issue Aug 30, 2024 · 0 comments
Open
4 of 8 tasks

Comments

@aanelson
Copy link

Please check the following before submitting a new issue.

Please select affected platform(s)

  • Android
  • iOS
  • Linux
  • macOS
  • Web
  • Windows

Proposal

With iOS 17 liveUpdates was added. Using this api along with backgroundActivitySession and setting permissions to always allow, will relaunch an app in the background when new positions come in even when an app is terminated.

Pitch

Looking at the issues, this not working in the background is the most common question that is brought up under the iOS tag. This will fix it for iOS 17 and 18.

One potential issue with the new api does not allow any configuration for setting range/accuracy just LiveConfiguration.

iOS 18 also requires usage of serviceSession to launch the app in the background from my testing.

This is also a Swift only api. background tracking info
wwdc24 video wwdc23 video

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

1 participant