Skip to content
Open
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: 2 additions & 2 deletions geolocator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Starting from Android 14 (SDK 34) you need to add the `FOREGROUND_SERVICE_LOCATI
[FOREGROUND_SERVICE_LOCATION](https://developer.android.com/reference/android/Manifest.permission#FOREGROUND_SERVICE_LOCATION)

``` xml
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION">
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />
```

> **NOTE:** Specifying the `ACCESS_COARSE_LOCATION` permission results in location updates with an accuracy approximately equivalent to a city block. It might take a long time (minutes) before you will get your first locations fix as `ACCESS_COARSE_LOCATION` will only use the network services to calculate the position of the device. More information can be found [here](https://developer.android.com/training/location/retrieve-current#permissions).
Expand Down Expand Up @@ -121,7 +121,6 @@ When using the `requestTemporaryFullAccuracy({purposeKey: "YourPurposeKey"})` me
The second key (in this example called `YourPurposeKey`) should match the purposeKey that is passed in the `requestTemporaryFullAccuracy()` method. It is possible to define multiple keys for different features in your app. More information can be found in Apple's [documentation](https://developer.apple.com/documentation/bundleresources/information_property_list/nslocationtemporaryusagedescriptiondictionary).

> 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.

Expand All @@ -131,6 +130,7 @@ On iOS 16 and above you need to specify `UIBackgroundModes` `location` to receiv
<string>location</string>
</array>
```
</details>

<details>
<summary>macOS</summary>
Expand Down
Loading