Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
openradar-mirror opened this issue Sep 24, 2016 · 5 comments

Comments

@openradar-mirror
Copy link

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
Copy link

mattneub commented Oct 8, 2016

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
Copy link

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

@mattneub
Copy link

mattneub commented Oct 2, 2017

@puneetchd Keep filing bugs with Apple.

@apsoftware123
Copy link

Still not working on iOS 11.

@sauvikated
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants