swift – kCLErrorDomain error 1 when iOS app will get background location updates. (Permission continues to be given!)


We’re at the moment experiencing a really attention-grabbing difficulty when accessing the situation within the background with CLLocationManager.
The person has given our app the “whenInUse” permission for areas and typically the app gives location updates even when it is within the background.
Nonetheless, after we began to make use of different navigation apps within the foreground we noticed that the func locationManager(_ supervisor: CLLocationManager, didFailWithError error: Error) methodology was known as with (kCLErrorDomain error 1.).

The person hasn’t modified the situation permission and we noticed that areas had been delivered as soon as the person opened the app once more.
I do not see something within the documentation explaining this difficulty, however I chatted with different builders that verify that particular behaviour.
Am I lacking one thing?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles