lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
245 stars 17 forks source link

28463185: CLLocationManager.deferredLocationUpdatesAvailable() always returns false #15939

Open openradar-mirror opened 8 years ago

openradar-mirror commented 8 years ago

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

mattneub commented 8 years ago

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.

puneetchd commented 7 years ago

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

mattneub commented 7 years ago

@puneetchd Keep filing bugs with Apple.

apsoftware123 commented 7 years ago

Still not working on iOS 11.

sauvikated commented 5 years ago

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?