TheAlphamerc / flutter_twitter_clone

Fully functional Twitter clone built in flutter framework using Firebase realtime database and storage
MIT License
3.94k stars 1.1k forks source link

Messages are not sent #258

Closed CoderXXXXX closed 2 years ago

CoderXXXXX commented 2 years ago

In the release version app - after the first installation of the application, it is not possible to send someone the first private message. After clicking the submit button, nothing happens. However, if the application is restarted, then the messages are already being sent. How can I catch this error? (everything is fine in the emulator, but on a physical device after install, it's a disaster).

CoderXXXXX commented 2 years ago

I was able to get this information. Error is: _CastError (Null check operator used on a null value) in Line "senderName: authstate.user!.displayName!);"

TheAlphamerc commented 2 years ago

@CoderXXXXX I am not able to reproduce this issue.