I have a Xamarin.Forms application that uses FreshMvvm. On an attempt to open a particular page with this code:
await CoreMethods.PushPageModel<DistributorsLocatorPageModel>();
after the execution passes the page's Init() method and all properties, the app crashes with the following error:
System.AccessViolationException
HResult=0x80004003
Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Source=Cannot evaluate the exception source
StackTrace: Cannot evaluate the exception stack trace
This happens only in UWP. iOS and Android have no issue. And other pages also open fine even in UWP.
I would appreciate your suggestions.
User contributions licensed under CC BY-SA 3.0