xamarin / xamarin-forms-book-samples

Code samples for "Creating Mobile Apps with Xamarin.Forms"
Apache License 2.0
725 stars 565 forks source link

Chapter 28 Map demos on Android issues #51

Open rclancy opened 6 years ago

rclancy commented 6 years ago

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