App crash after sending message to Firebase Database?
so I use Firebase Database for messaging feature and when I send a message, the following error comes out and the app crash. Later on, the chatting activity keep crashing and need to delete the message on Firebase manually to be able to reopen the chatting activity.
2022-07-19 22:56:27.078 21525-21525/com.example.gesit E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.gesit, PID: 21525
com.google.firebase.database.DatabaseException: Can't convert object of type java.lang.String to...