Geolocator Plugin always returns locator.IsGeolocationEnabled = false

Hi
I'm using the Geolocator Plugin in a PCL. The following line ALWAYS returns false.

if (locator.IsGeolocationEnabled)

I have added the necessary entry to info.plist. I get the dialog to allow location on the sim and iphone. I select allow.
But still get IsGeolocatioEnabled = false. I calling the code in the VM init.
Is it a timing issue?
thx in advance

Answers

  • Prajakta.ShindePrajakta.Shinde INUniversity ✭✭

    @BradSmelster.5783 did you get the solution?

  • BhautikBhautik Member ✭✭✭

    @BradSmelster.5783 said:
    Hi
    I'm using the Geolocator Plugin in a PCL. The following line ALWAYS returns false.

    if (locator.IsGeolocationEnabled)

    I have added the necessary entry to info.plist. I get the dialog to allow location on the sim and iphone. I select allow.
    But still get IsGeolocatioEnabled = false. I calling the code in the VM init.
    Is it a timing issue?
    thx in advance

    facing the same issue.

Sign In or Register to comment.