Cannot deploy using Forms 4.0, GetIconDrawable is obsolete as of 4.0.0
Get a deployment error with missing method GetIconDrawable on Android build only. The iOS build works using 4.0, but, my app does not use IconTabbedPage, suspect it would fail if I were.
Looking at 4.0 TabbedPageRenderer code, has this comment above GetIconDrawable:
[Obsolete("GetIconDrawable is obsolete as of 4.0.0. Please override SetTabIconImageSource instead.")]
See https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Platform.Android/AppCompat/TabbedPageRenderer.cs
Is the workaround in the meantime to revert to a pre 4.0 Forms version? Many thanks
LATER EDIT: The answer is Yes. Downgrading Forms to 3.6.x allows a succesful build. It would be good to know if there's a time frame for this issue.
Debug is working Fine for me on Forms 4.0 and In release mode it is throws exception. Any updates on time frame for this resolution on release mode. Mono.Linker.MarkException: Error processing method: 'Android.Graphics.Drawables.Drawable Plugin.Iconize.IconTabbedPageRenderer::GetIconDrawable(Xamarin.Forms.FileImageSource)' in assembly: 'Plugin.Iconize.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve Android.Graphics.Drawables.Drawable Xamarin.Forms.Platform.Android.AppCompat.TabbedPageRenderer::GetIconDrawable(Xamarin.Forms.FileImageSource)