Skip to content

Adds section about background modes on iOS to the README #1709

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

Merged
merged 1 commit into from
May 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions geolocator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## NEXT

- Adds section about `UIBackgroundModes` to the README.

## 14.0.1

- Adds section about `FOREGROUND_SERVICE_LOCATION` to the README.
Expand Down
9 changes: 9 additions & 0 deletions geolocator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,15 @@ The second key (in this example called `YourPurposeKey`) should match the purpos
> NOTE: the first time requesting temporary full accuracy access it might take several seconds for the pop-up to show. This is due to the fact that iOS is determining the exact user location which may take several seconds. Unfortunately this is out of our hands.
</details>
On iOS 16 and above you need to specify `UIBackgroundModes` `location` to receive location updates in the background.

``` xml
<key>UIBackgroundModes</key>
<array>
<string>location</string>
</array>
```

<details>
<summary>macOS</summary>

Expand Down