chat-sdk-ios icon indicating copy to clipboard operation
chat-sdk-ios copied to clipboard

Action sheet closes app

Open ronaldo-triibo opened this issue 1 month ago • 0 comments

  1. Is the bug present in the demo Chat SDK project? Yes.

  2. What modifications have you made to the Chat SDK? chatConfig.locationMessagesEnabled = false chatConfig.threadTitleFont = .triiboSemiBoldFont(ofSize: 18) chatConfig.messageTextFont = .triiboRegularFont(ofSize: 16) chatConfig.showEmptyChats = false chatConfig.userChatInfoEnabled = true chatConfig.textInputViewMaxLines = 50 chatConfig.textInputViewMaxCharacters = 1000 chatConfig.showUserAvatarsOn1to1Threads = true chatConfig.shouldOpenChatWhenPushNotificationClicked = true chatConfig.messageSelectionEnabled = false chatConfig.showLocalNotifications = true chatConfig.showLocalNotificationInChat = true chatConfig.imageMessagesEnabled = false

  3. iOS Version? Device or simulator? iOS 17, both device and simulator.

  4. Steps taken to reproduce the problem: Open the chat screen and click on the + button. Then click the Cancel option of the action sheet.

  5. Expected result: The action sheet closes and returns to the chat screen.

  6. Actual result: The app closes.

  7. Comments: It seems that the Cancel option of the action sheet is dismissing the ViewController instead of the Action Sheet.

ronaldo-triibo avatar May 14 '24 14:05 ronaldo-triibo