You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,14 @@ Apple requires privacy descriptions to be specified in `Info.plist` for location
16
16
-`NSLocationAlwaysAndWhenInUseUsageDescription` (`Privacy - Location Always and When In Use Usage Description`)
17
17
-`NSLocationWhenInUseUsageDescription` (`Privacy - Location When In Use Usage Description`)
18
18
19
+
> [!NOTE]
20
+
> This Capacitor plugin does not support background geolocation directly. However, it relies on
21
+
> [`ion-ios-geolocation`](https://github.com/ionic-team/ion-ios-geolocation), which can report
22
+
> location in the background. As a result, Apple requires you to include a
23
+
> `NSLocationAlwaysAndWhenInUseUsageDescription` entry in your `Info.plist`. Since this permission
24
+
> prompt won’t appear to users, you can safely use the same description string as for
25
+
> `NSLocationWhenInUseUsageDescription`.
26
+
19
27
Read about [Configuring `Info.plist`](https://capacitorjs.com/docs/ios/configuration#configuring-infoplist) in the [iOS Guide](https://capacitorjs.com/docs/ios) for more information on setting iOS permissions in Xcode
0 commit comments