-
Notifications
You must be signed in to change notification settings - Fork 505
[Bug] await Geolocation.GetLocationAsync() never returns when permission denied #1488
Comments
Can confirm also experiencing this issue. |
It is even worse than that in my case. If the permission was not previously granted no matter what option I choose in the popup dialog the method never returns. |
@iMrTidy what happens if you go to the device settings and manually enable the permission for your app there? Does it work after that? |
If the permission was previously given all works smoothly. |
Also got the same error results with the pre release 1.6.0-pre2 |
I think this is now fixed in #1487 CI is now building that change and will be pushed to the preview feed soon as In addition, I'll be pushing out a preview to NuGet, so it will be great if you could test the change and make sure it works for you. |
Duplicate of #1390 |
Thanks for the quick fix. Do we have a rough ETA on when we'll get this build? Any chance it could be prioritised for main release / merge back to 1.5 or something? It's effecting a lot of users since iOS 14 rolled out. |
I think this was pushed into the new 1.6 preview |
Yes, please! iOS 14 has been out for 2 months. I don't understand how such obvious bugs take so long to get released. This is blocking an app release for us. Given how often Xamarin libraries break, I'm extremely hesitant to try a preview. |
Any timelines when 1.6 will be released fully? |
Any updates regarding this issue? I have still get the problem even when using 1.6.0-pre5 |
@dai15002 try |
Still happening in 1.7.1 for me |
Description
Gelocation.GetLocationAsync()
never returns if the location permission is denied in iOS 14 and later only.Steps to Reproduce
await Gelocation.GetLocationAsync()
Expected Behavior
The location should return null, or the last known location, or throw an exception, as it does pre iOS 14.
Actual Behavior
The method never returns and the app will wait indefinitely.
Basic Information
Discovered the issue on an iPhone XS Max running iOS 14.1 after having it reported by a user. An iPhone 6 on iOS 12 works fine still on the same app build.
Reproduction Link
iOS14_Location_Issue.zip
The text was updated successfully, but these errors were encountered: