Hey when pushing a modal page ontop of the map page it will cause Android 6.0 devices and higher to crash. This is very unfortunate if you consider the fact that Android 6.0 will be the standard.
Error message is : java.lang.ClassCastException: com.google.maps.api.android.lib6.impl.am cannot be cast to android.view.ViewGroup
which platform do you want?
Could you try reproduce on original "Xamarin.Forms.Maps"?
I suspects this is the original behavior or Xamarin.Forms's bug.
Hey,
Well I can't do that right now and this weekend :( accidently shutdown my pc at work with all the code.
Well they did change something in the latest Xamarin pre releases does it still work on your 6.0 devices and up ?
Cheers
Hey Amay077,
Well I am at the office and I will test the behavior right now. I will post a update when I am done!
Update
Hey @amay077,
I have made a blank Xamarin.Forms app with the latest Xamarin.Forms + Xamarin.Forms.Maps both version v2.3.4.221-pre6.
When I push a page modally on the map page it will not crash. When using your Nuget it will crash.
Hopefully you can take a look into the issue :)
Thanks in advance
Any updates on this bug?
The below link may help this to be resolved:
https://stackoverflow.com/questions/18227540/error-mapfragment-cannot-be-cast-to-android-support-v4-app-fragment
Also running into this.
Also running into this.
Try to update xamarin.forms to v2.4 - this error is already fixed
See in this link: https://bugzilla.xamarin.com/show_bug.cgi?id=59127#c4
Most helpful comment
Update
Hey @amay077,
I have made a blank Xamarin.Forms app with the latest Xamarin.Forms + Xamarin.Forms.Maps both version v2.3.4.221-pre6.
When I push a page modally on the map page it will not crash. When using your Nuget it will crash.
Hopefully you can take a look into the issue :)
Thanks in advance