245
background location
also always authorization, significant-change location
Location after the app closes is a separate permission, and you have to earn it.
What is background location?
Background location is the right to read position after suspend. iOS splits When In Use from Always. Android splits a foreground permission from background location. Always is for a feature the user can name, such as a recorded trip. Asking for it on first launch is how the review and the user both say no.
Why does background location matter when vibe coding?
The draft requests Always in the first dialog because a map is on the home screen. The purpose string is “to improve your experience.” Review rejects it, or the user denies it and the feature was never going to work.
How do you do background location?
Start with When In Use. Ask for Always only from the feature that needs it, with a sentence that says why. Prefer significant-change updates over a continuous high-accuracy stream.
How do you ask a model for background location?
Request When In Use location for (feature). Ask for background location only when the user starts (trip). Say why in the purpose string. Do not request Always at first launch. Do not stream high accuracy in the background.
What goes wrong with background location?
A purpose string that does not match the behavior. The OS shows your sentence next to a permission you are abusing.