Save States Chat-View SMS

Hello I am a novice, I have just created a small application for sending and receiving sms. Everything works fine, but I can’t save the “chat view” in conversations. Someone would have a solution. (Sorry for the translation, I’m French). Thank you good continuation.

Welcome to the community!

Could you show us what have you tried?

This is what I tried to do. I arrive only recorded the last written message.

You can either use tinyDB or file to store chats.

Use tinydb and store data and access on screen initialize

thanks for your help, would you have an example to save all messages with TinyDB?

I think I managed to save the messages. But now the messages received no longer appear in the chat view :frowning: