amay077 / Xamarin.Forms.GoogleMaps

Map library for Xamarin.Forms using Google maps API
https://www.nuget.org/packages/Xamarin.Forms.GoogleMaps/
MIT License
546 stars 346 forks source link

Doesn't work on Android Pie with Firebase 71.1610.0 #653

Open naumanghani opened 5 years ago

naumanghani commented 5 years ago

VERSIONS

PLATFORMS

Android

ACTUAL BEHAVIOR

Breaks after installing Lastest Firebase packages To Reproduce on Android Pie Install Xamarin.Firebase.Common and Xamarin.Firebase.Messaging both version 71.1610.0. It will ask for Xamarin.GooglePlayServices.Base >= 71.1610.0 and after installing it Google Maps doesn't show.

ACTUAL SCREENSHOTS/STACKTRACE

something_image

// paste stacktrace

EXPECTED BEHAVIOR

HOW TO REPRODUCE

// code for reproduce
mtsrdr commented 4 years ago

The Xamarin.Forms.GoogleMaps library dependencies requires the installation of Xamarin.GooglePlayServices.Maps library v.60.1142.1, but when you have others Xamarin.GooglePlayServices dependencies with a newer version like >= v.71.16xx.x, then the Maps is not loaded in the android project. The same thing happened to me with the Xamarin.Forms.Maps library.

The solution is to install the latest version of Xamarin.GooglePlayServices.Maps directly in the Android Project.

amay077 commented 4 years ago

Please see https://github.com/amay077/Xamarin.Forms.GoogleMaps/issues/639#issuecomment-537952943 .