'Flutter WebApp, deployed in Firebase stops accepting user input

My Flutter app that has a login page is fully functional on Android, iPhone and Web.

The problem is with the WebApp - immediately after I deploy it into the Firebase, it works well, as expected. However, if I leave it and come back to it in several hours, and try to open another window - neither text fields nor mouse user entry are accepted any longer. If I then rebuild the app and redeploy it, it starts working, for a while.

I use flutter version 2.10.5 and Dart version 2.16.2. Flutter doctor -v produced no errors or warnings.

Has anyone experienced this sort of behaviour?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source