Hello! thanks for your amazing RN component!
I was wondering if there is any way to handle message delivery errors, as it was in react-native-gifted-messenger (I remember there was an example where you could re-send message in a case of error)? why did you remove this functionality?
I think this should be renamed or tagged as Feature Request. I do like the way that JSQMessagesViewController handled this. It would show the message that was sent and it would have a little indicator and message to say it was not sent. And then upon selecting it, it would try again.
+1
I think this logic should be handled by your app and not the component.
GiftedChat is a _"stupid"_ component that receives a list of messages to display, and should not handle the way you send your message because it is up to the developer.
What I did in my app is:
message.state = temptemp and "real" messages the sameerrorerrorrenderMessage and render your message view according to the state, for error you could render an error icon and a button that will try to send the message againHope that helps
I close it. I think it's too old to be in issue list again. Please feel free to open a new one if you think it's again the case that you need this feature... :)
Most helpful comment
I think this logic should be handled by your app and not the component.
GiftedChatis a _"stupid"_ component that receives a list of messages to display, and should not handle the way you send your message because it is up to the developer.What I did in my app is:
message.state = temptempand "real" messages the sameerrorerrorrenderMessageand render your message view according to thestate, forerroryou could render an error icon and a button that will try to send the message againHope that helps