You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.
If you are creating an issue for a BUG please fill out this information. If you are asking a question or requesting a feature you can delete the sections below.
Failure to fill out this information will result in this issue being closed. If you post a full stack trace in a bug it will be closed, please post it to http://gist.github.com and then post the link here.
Bug Information
Version Number of Plugin: Plugin.Permissions (6.0.1)
Device Tested On: Ssamsung SM-G975U1
Simulator Tested On: NA
Version of VS: 2019
Version of Xamarin: 4.8.0.1821
Versions of other things you are using:
Steps to reproduce the Behavior
I call to location permissions. If I do not have the permission I request the permission. If I have to request the permission, its almost like my thread is abandoned....my busy spinner stops....the method returns....and 4-5 seconds later Latitude and Altitude are filled in. If I already have the permission...and do not have to request the permission....the busy spinner shows the entire time and the values are filled in.
I check the value of IsBusy and for some reason it is set to False. Even after the permission is granted if I set IsBusy to true...when I call to get the location, IsBusy will be set to false. I have no idea why.
Expected Behavior
I would expect after requesting location permissions, while I am retrieving the location the busy spinner will show.
Actual Behavior
When I call to request permissions....the busy spinner stops. Even setting it to true again, calling for the location will again set it to false. I am not sure why
If you are creating an issue for a BUG please fill out this information. If you are asking a question or requesting a feature you can delete the sections below.
Failure to fill out this information will result in this issue being closed. If you post a full stack trace in a bug it will be closed, please post it to http://gist.github.com and then post the link here.
Bug Information
Version Number of Plugin: Plugin.Permissions (6.0.1)
Device Tested On: Ssamsung SM-G975U1
Simulator Tested On: NA
Version of VS: 2019
Version of Xamarin: 4.8.0.1821
Versions of other things you are using:
Steps to reproduce the Behavior
I call to location permissions. If I do not have the permission I request the permission. If I have to request the permission, its almost like my thread is abandoned....my busy spinner stops....the method returns....and 4-5 seconds later Latitude and Altitude are filled in. If I already have the permission...and do not have to request the permission....the busy spinner shows the entire time and the values are filled in.
I check the value of IsBusy and for some reason it is set to False. Even after the permission is granted if I set IsBusy to true...when I call to get the location, IsBusy will be set to false. I have no idea why.
Expected Behavior
I would expect after requesting location permissions, while I am retrieving the location the busy spinner will show.
Actual Behavior
When I call to request permissions....the busy spinner stops. Even setting it to true again, calling for the location will again set it to false. I am not sure why
Code snippet
if(!IsBusy)
{
IsBusy = true;
public async Task PermissionCheck(Permission permission)
{
PermissionStatus status = PermissionStatus.Unknown;
public static async Task GetCurrentLocation()
{
Location location = null;
string title = "Geo Location Services";
Screenshots
The text was updated successfully, but these errors were encountered: