SwiftLocation icon indicating copy to clipboard operation
SwiftLocation copied to clipboard

Blue bar blink when fetch position

Open paul-lavoine opened this issue 4 years ago • 3 comments

Hello,

Here my configuration:

  • New project to be sure, there is no impact from my code.
  • I picked "When-In-Use" authorization
  • I call the following method SwiftLocation.gpsLocation(accuracy: .block, timeout: .delayed(0)).then { (result) in ... }

When I call this method, the blue bar blink. How can I avoid this ?

Here a video to understand the behaviour : https://we.tl/t-pTY7LFvnQi

paul-lavoine avatar Mar 26 '21 08:03 paul-lavoine

@paul-lavoine I believe iOS is showing the blue bar due to the app using GPS. I wonder if its blinking due to your timeout being 0 seconds.

ay8s avatar Mar 31 '21 16:03 ay8s

iOS is showing the blue bar with settings when-in-use and when app is in background. That's why I don't understand this behaviour... :( I tried with an other timeout but it's the same result ...

paul-lavoine avatar Apr 01 '21 08:04 paul-lavoine

Ok, it's an iOS bug since v14.0

paul-lavoine avatar Apr 01 '21 12:04 paul-lavoine