System Aggregation issue in Xamarin

rpundlikrpundlik Member ✭✭

After deploying the app on App store we are getting the below error constantly and app is getting crashed. Below is the error.

Terminating app due to uncaught exception 'System.AggregateException', reason: 'System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.ObjectDisposedException: Cannot access a disposed object. Object name: 'MobileAuthenticatedStream'. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x1030e7990 + 0x00028> in :0 at Mono.Net.Security.MobileAuthenticatedStream+d__58.MoveNext () <0x10341f300 + 0x005ff> in <24ab45aca3bd43dca88a4166f90ed49f#ccefd9b888727970fe79a7fe74005423>:0 --- End of inner exception stack trace --- ---> (Inner Exception #0) System.ObjectDisposedException: Cannot access a disposed object. Object name: 'MobileAuthenticatedStream'. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x1030e7990 + 0x00028> in :0 at Mono.Net.Security.MobileAuthenticatedStream+d__58.MoveNext () <0x10341f300 + 0x005ff> in <24ab45aca3bd43dca88a4166f90ed49f#ccefd9b888727970fe79a7fe74005423>:0 <--- '

The users which have this issue they are using iPhone 8 plus with OS version 11.2.6. However we are not able to get this issue on previous versions of iPhone.

Does this error related to device OR xamarin ?

Does xamarin packages need to be updated to support all iOS devices. However this doesnt get failed on android devices.

Also we are calling the web api using async/await operator.

Any help on this appreciated !

Sign In or Register to comment.