Chromecast/Chromecast.Android will crash on startup on real device in Release mode compiled
This project will crash on startup if deployed on a real device (on my side Samsung Galaxy S6, Android 7.0) in Release mode configuration
In Debug mode it works!
Problematic line is
_libVLC.RendererList.FirstOrDefault(r => r.Name.Equals("microdns_renderer"));
Can't get any debug logs or other useful information. It just crashes without any output.
It doesn't depend on using Xamarin.Forms or not. I'm experiencing the same bug in my Xamarin.Android project.
If I comment problematic line and put "microdns_renderer" directly in
_rendererDiscoverer = new RendererDiscoverer(_libVLC, "microdns_renderer");
everything works fine
P.S. Sorry for not using the template here. No debug output to post. The project was just cloned and started.