How to change sent, received, seen status when send a message?
See original GitHub issueIssue Description
When the user sends a message to another person he can include the sent, received, seen properties in the current message object but he can update each of them. Like once user press send sent all will be false. Then once the message added to the firebase then sent should be true, once another user receives this message received should be true, and once other users see this message ie message loaded on the visible screen seen status should change. I am unable to get at which event we should change these properties & how?
<GiftedChat
messages={this.state.messages}
onSend={messages => this.onSend(messages)}
user={{_id: this.state.user.id}}
messagesContainerStyle={{backgroundColor: '#fff'}}
renderMessage={this._renderMessage}
renderMessageText={this._renderMessageText}
renderAvatar={this._renderAvatar}
renderTime={()=>null}
renderDay={()=>null}
showUserAvatar={true}
showAvatarForEveryMessage={false}
renderBubble={this.renderBubble}
placeholder='Enter message'
renderInputToolbar={this._renderInputToolbar}
textInputStyle={styles.textInputStyle}
renderActions={this._renderAction}
// minInputToolbarHeight={44}
alwaysShowSend={true}
renderSend={this._renderSend}
/>
Additional Information
- React version:16.11.0
- React Native version: 0.62.2
- react-native-gifted-chat version: 0.16.1
- Platform(s) (iOS, Android, or both?): Android (ios not tested)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Add and request read receipts and delivery notifications
Open the original message that you sent with a request for a delivery or read receipt. This message is usually located in the...
Read more >Change Messages notifications & settings - Google Support
Open the Messages app . · Tap More options More and then Settings and then Advanced. Send a message or a file separately...
Read more >How to Turn Off Read Receipts on iMessage - Alphr
You just need to look at your chat history and find the last unanswered message you sent to your contact. If you don't...
Read more >Change iMessage settings in Messages on Mac - Apple Support
Specify how you can be reached for messages and if you want to send read ... The person receives messages sent from the...
Read more >How to check read receipts | WhatsApp Help Center
Check marks will appear next to each message you send. Here's what each one indicates: The message was successfully sent. The message was...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@novlihalsi need to update message with
in giftedchat
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.