Commit 8189ccc
feat(ios): add location permission row and enable background updates
- Add Location row to Privacy & Access section showing current
OS authorization (Always / While Using / Not Set / Not Allowed)
with an action button to upgrade or open Settings
- Enable allowsBackgroundLocationUpdates on the CLLocationManager
when starting significant-change monitoring so the system
delivers location events after the app is suspended
- Treat "While Using" as a warning tone in the permission UI
to nudge users toward Always for reliable automations
Co-authored-by: Cursor <[email protected]>1 parent bb03d00 commit 8189ccc
2 files changed
Lines changed: 48 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
15 | 25 | | |
16 | 26 | | |
17 | 27 | | |
| |||
78 | 88 | | |
79 | 89 | | |
80 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
81 | 123 | | |
82 | 124 | | |
83 | | - | |
| 125 | + | |
84 | 126 | | |
85 | | - | |
86 | | - | |
87 | | - | |
| 127 | + | |
88 | 128 | | |
89 | 129 | | |
90 | 130 | | |
| |||
280 | 320 | | |
281 | 321 | | |
282 | 322 | | |
| 323 | + | |
283 | 324 | | |
284 | 325 | | |
285 | 326 | | |
| |||
0 commit comments