I am developing a flutter app with chat functionality and I am using stream_chat_flutter for chat functionality. I need to implement end to end encryption on messages I have followed documentation for encryption as given in the link below https://getstream.io/chat/docs/sdk/flutter/guides/end_to_end_chat_encryption/
The issues with the encryption are:
- The other user is not getting notification for encrypted message, while unencrypted text notification works. I am using firebase messaging integrated with getStream to send message.
- The encrypted messages are normally decryped correctly, but sometimes when user sends the message, the received message is not as same as sent encrypted message thus it is not getting decrypted. It seems like the encrypted text are not getting saved correctly on getstream server.
- How to implement the search messages functionality if all the messages are encrypted?