Xamarin forms app becomes unresponsive when the system time changes while app is minimized

Shubham Kumar 1 Reputation point
2021-07-26T09:19:13.993+00:00

Any idea why changing system time while Xamarin forms application running background causes issues like the application are unresponsive and buttons are not working etc?

I started the Xamarin forms UWP application, then I switched it to work in the background. I changed the system time by subtracting a few hours. After returning to the application it was unresponsive and the buttons are not working. I debugged the application, but I didn't see any reason for this kind of behaviour. The same thing happens on Android and iOS. I am using Xamarin.Forms version 5.0.0.1874.

Steps to reproduce:-

1- Open Xamarin App

2- Go to your main page

3- Minimize app and change system time

4- Open App again and perform any operation if it is working correct Repeat steps 2 & 3

5- Open App again and observe it is now unresponsive

Is it Xamarin form related issue or it is happening for other frameworks as well?

Any suggestions/ideas on why is it occurring and how to handle it?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,295 questions
Universal Windows Platform (UWP)
{count} votes