xamarin/xamarin-forms-book-samples

Chapter 28 Map demos on Android issues

rclancy opened this issue · 0 comments

When trying to run the demos from Chapter 28 on an Android emulator in Visual Studio 17, I get these 2 problems:
WhereAmI.Droid:
public void StartTracking() {
IList locationProviders = locationManager.AllProviders;
foreach (string locationProvider in locationProviders) {
//error occurs here (locationProvider = "passive")
locationManager.RequestLocationUpdates(locationProvider, 1000, 1, this);
}
and
MapDemos.Droid: when I set IsShowingUser to true