chat-sdk-ios
chat-sdk-ios copied to clipboard
Action sheet closes app
-
Is the bug present in the demo Chat SDK project? Yes.
-
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
-
iOS Version? Device or simulator? iOS 17, both device and simulator.
-
Steps taken to reproduce the problem: Open the chat screen and click on the + button. Then click the Cancel option of the action sheet.
-
Expected result: The action sheet closes and returns to the chat screen.
-
Actual result: The app closes.
-
Comments: It seems that the Cancel option of the action sheet is dismissing the ViewController instead of the Action Sheet.