Posts

Post not yet marked as solved
28 Replies
I am seeing the same issue. I have a simple standalone app where I am asking for Always permission with background location enabled and it calls `startUpdatingLocation` once authorization is granted. When in `Provisional Always` and the app in foreground the location updates come in fine. But when the app is backgrounded, I get the location updates for only a few seconds and then it stops. Now, if you bring the app back to foreground, you will see the prompt and location updates start working again. It seems like as soon as the app knows to prompt, the location updates stop.Another thing I noticed, if you set`locationManager.showsBackgroundLocationIndicator = true`then the location updates work fine and you are never prompted for `Keep When In Use` or `Allow Always`.