Clear ChatView messages

Please friends help me, I tried everything, even the clean function in chatview, but it doesn’t work, when I open the app, the messages are still there. I would like help.

Are you using any database ?
You need to clear that item in database then only it will not show

FireBase - data changed ← Block name

When screen intialize are you calling firebase data ?

You want to clear chat messages only in app or from database too?? Your method may clean for an instance from app but When data is changed in firebase immediately it will show one and all

My block

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.