My app is being unstable and I managed to get Sentry installed on top. Sentry detected a FF generated page that has a ListView that displays post comments coming from Firestore where there is a "Null check operator used on a null value". The reported line has the following code:
Text(dateTimeFormat("relative", listViewPostCommentsRecord.timestamp!, locale: FFLocalizations.of(context).languageCode, ...)
So the problem is this timestamp! field with a null check that errors, even when I verified that there is no record in my DB with a null in this field. Somehow a null gets there (by async code, bad data mapping, bad cache...?) and causes this problem. Indeed, when removing the field from the ListView entry the problem disappears but I can't omit this data!
FF should not add this null check without being completely sure that no null will kick in.
The problem is very nasty because it happens at runtime and the related page builds OK. However the app crashes from time to time without any evident reason. I think this is really urgent and it may be causing trouble to other users.