Xamarin Navigation.PushAsync/PopAsync Crash on TV

Xamarin Navigation.PushAsync/PopAsync Crash on TV

BY 26 Feb 2021 Tizen .NET

Hello,

My application works well on the emulator,
but less well on small 2020 televisions. It sometimes, no always, crashes when pages appear or disappear.

When I run the Navigation.PushAsync (),
it’s still executed on the MainThread, and sometimes it didn’t return a “Task”,
so I got stuck with my “await” in the main thread.

In the logs I could see the methods were executed:
“OnDissapearing” was running for the old one and “OnAppaering” for the new page.

but my navigation does not return from task, and in the emulator the page was frozen,
I think the crash come from Navigation.PushAsync() probably  Xamarin.Forms.Platform.Tizen

Thank you

Written by