You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Twilio Conversations assigns the "system" identity to messages created without an author. This means that some ConversationMessage records will have an identity but no participantSid.
The schema for the ConversationMessage in this app requires a participantSid property. When you attempt to view conversations with system messages, the app crashes with the log "NSLocalizedDescription=participantSid is a required value" and Xcode brings you to line 64 of ConversationsApp/Models/CoreData/CoreDataManager.swift.
Here is screenshot of Xcode during a crash
Steps to Reproduce
Log into the app
Create a conversation
Grab the conversationSid from the Twilio Console
From the command line, create a message in the conversation with the "author" property undefined, like so...
just make the participantSid attribute as Optional. It is located in Models -> CoreData -> ConversationsApp -> Entities (PersistentMessageDataItem) click on participantSid and on the right panel click on Optional. Save. Run.
Twilio Conversations assigns the "system" identity to messages created without an author. This means that some ConversationMessage records will have an identity but no participantSid.
The schema for the ConversationMessage in this app requires a participantSid property. When you attempt to view conversations with system messages, the app crashes with the log "NSLocalizedDescription=participantSid is a required value" and Xcode brings you to line 64 of ConversationsApp/Models/CoreData/CoreDataManager.swift.
Here is screenshot of Xcode during a crash
Steps to Reproduce
The text was updated successfully, but these errors were encountered: