openradar-mirror icon indicating copy to clipboard operation
openradar-mirror copied to clipboard

28463185: CLLocationManager.deferredLocationUpdatesAvailable() always returns false

Open openradar-mirror opened this issue 8 years ago • 5 comments

Description

Area: CoreLocation (Location Services)

Summary: When calling CLLocationManager.deferredLocationUpdatesAvailable() on devices that have GPS it should return true - which it does in iOS 9 und older versions.

In iOS 10 it does always return false and when I call allowDeferredLocationUpdates the method didFinishDeferredUpdatesWithError is immediately called with kCLErrorDomain error 11

Steps to Reproduce:

  1. call CLLocationManager.deferredLocationUpdatesAvailable()
  2. get false

Expected Results: CLLocationManager.deferredLocationUpdatesAvailable() should return true on devices with GPS

Actual Results: CLLocationManager.deferredLocationUpdatesAvailable() returns false

Version: 10.0.2

Notes:

Configuration: iPhone 6s

Product Version: 10.0.2 Created: 2016-09-24T20:39:51.664940 Originated: 2016-09-24T00:00:00 Open Radar Link: http://www.openradar.me/28463185

openradar-mirror avatar Sep 24 '16 21:09 openradar-mirror

I can confirm this. CLLocationManager.deferredLocationUpdatesAvailable is true on iOS 9 and false on iOS 10. I cannot find a situation where it is ever true on iOS 10.

mattneub avatar Oct 08 '16 17:10 mattneub

Has any one tried Deferred Location Updates on iOS 11? Seems like even on iOS 11 its not working.

puneetchd avatar Oct 02 '17 08:10 puneetchd

@puneetchd Keep filing bugs with Apple.

mattneub avatar Oct 02 '17 17:10 mattneub

Still not working on iOS 11.

apsoftware123 avatar Oct 10 '17 19:10 apsoftware123

CLLocationManager.deferredLocationUpdatesAvailable() returns false on iOS 12.3.1 on iPhone SE Model MP852HN/A.

Device Status

Battery Level: 38% Battery Charge Status: Charging WiFi ON/OFF: OFF Mobile ON/OFF: ON Bluetooth ON/OFF: OFF

Can anyone please let me know if they faced the same issue?

sauvikated avatar Jun 11 '19 05:06 sauvikated