How to disable auto resend message?

Hello! Is there any function to disable auto-resend in SendbirdSDK v3?

We also find that there’s different behavior in Simulator and physical device.

In Simulator:

  1. Send message in offline mode
  2. Reopen the channel, it’s marked as failed messages (from getFailedMessages)
  3. Turn on the internet
  4. Failed messages are sent automatically, but not removed from getFailedMessages() causing duplicate message (1 fail, 1 success)

In physical device:

  1. Send message in offline mode
  2. Reopen the channel, it’s marked as pending message (from getPendingMessages)
  3. Turn on the internet
  4. Pending messages are sent automatically, and it doesn’t have any failed message (no duplicate message)

Sendbird version: 3.1.25
Thank you in advance!