Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
It would seem that core location is not working for some reason. I'm using the following sample:
and the .UpdatedLocation event is never raised. I posted about the issue on StackOverflow, and the issue was verified by at least one other person:
I have verified that the application has location enabled in the privacy settings. I am on the latest version of the OS (Mountain Lion).
Confirmed that UpdatedLocation is not being called and the UI is never updating after lauching.
I bet this is another of those c# event are wrong due to stomping or such.
If you replace the events with a delegate instance, does it work?
Oh, and apologies Joel on the crazy long delay in response. This bug was misfiled and lost until now. We're working on clearing up our backlog of bug. We're working to make sure it doesn't happen again in the future.
It looks like the issue here is that the UpdatedLocation method was deprecated back in 10.6. There's a LocationsUpdated method now that should be what's needed instead (I tried adding it to the sample and it was being being called repeatedly while UpdatedLocation was not).
The sample needs to be updated since it's not working per my comment above (#4)
Fixed in mac-samples/master: 51487f66ccefa5f9ff9c0f685559564f87f17607