GPS speed received is 0 even though the device is moving

Is there a case where the speed received by CoreLocation can be equal to 0 even though the device is moving ? In my current project we have encountered this case several times on a iPhone 12. Is it a known issue ?

speed

  • "Because the actual speed can change many times between the delivery of location events, use this property for informational purposes only."
  • i.e. "speed" is not always literally correct

You should also check "speedAccuracy"

  • "When this property contains a negative number, the value in the speed property is invalid."

We have the same issue with our app. It has been working ok for years but this issue started about 6 months ago. The "0 speed spot" can take several minutes and it is very easy to reproduce with 180 u-turn. The same app on Android platform works without problems. My guess is that it is somehow iOS 15 related?

GPS speed received is 0 even though the device is moving
 
 
Q