Open marshallcoco opened 4 years ago
Any updates on this issue? This issue is still present.
Looks like if you are compiling with the .NET Native toolchain you need to set the rendererAssemblies in App.xaml.cs to point to the UWP renderer, and not the portable renderer
VERSIONS
PLATFORMS
ACTUAL BEHAVIOR
I work on a Xamarin.Forms application targeting UWP, which uses Xamarin.Forms.GoogleMaps. In Debug, everything works fine but in Release the map doesn't show up (it's completely blank).
HOW TO REPRODUCE
I generated a Bing Map API key (MY_KEY in code below) with this properties:
In UWP project, App.Xaml.cs, OnLaunched method I put this code:
And of course there is a view with a map in my application: xmlns:maps="clr-namespace:Xamarin.Forms.GoogleMaps;assembly=Xamarin.Forms.GoogleMaps"
As mentioned above, this works fine in Debug mode (map is displayed, centered on Rome) but in Release the map is blank.
Thanks!