Describe the bug
Draft messages are not persisted across app restarts in our app.
If we type a draft, kill the app, and reopen it, the draft is gone from both the channel list preview and the message composer.
SDK version
To Reproduce
Open a channel.
Type a message in the composer but do not send it.
Leave it as draft.
Kill/force-close the app.
Reopen the app and go back to the same channel.
Expected behavior
The draft should still be available after app restart until the user sends or manually clears it.
Screenshots
We have draft messages enabled (ChatUI.draftMessagesEnabled = true).
This seems related to draft persistence lifecycle on app process death.
Describe the bug
Draft messages are not persisted across app restarts in our app.
If we type a draft, kill the app, and reopen it, the draft is gone from both the channel list preview and the message composer.
SDK version
To Reproduce
Open a channel.
Type a message in the composer but do not send it.
Leave it as draft.
Kill/force-close the app.
Reopen the app and go back to the same channel.
Expected behavior
The draft should still be available after app restart until the user sends or manually clears it.
Screenshots
We have draft messages enabled (ChatUI.draftMessagesEnabled = true).
This seems related to draft persistence lifecycle on app process death.