How long did you wait? I had a similar case for when my authorizationStatus was set to requestWhenInUseAuthorization
I was working for and it took roughly 16-17 minutes for it to pause. During that time even if the phone was sitting on my desk I was usually still getting updates sent to my didUpdateLocation
method. If I remember correctly upon putting the app into background I was getting 2 location updates at the first few seconds I placed it the background and then like two updates at minute 1, another two updates at minute 5, another two at minute 10, another two at minute 14 and eventually another two before 17 and then the pause would happen. I guess the app is receiving the callbacks which check to 'make sure you've actually paused'
Though I didn't set the activityType
to automotiveNavigation
. I'm assuming setting to that will reduce the time it takes to find out it has to fire the locationManagerDidPauseLocationUpdates
callback.
Additionally the callback you will get is locationManagerDidPauseLocationUpdates
this. You said DidPauseLocationUpdates
but I'm guessing you're talking about the same thing...