chat-sdk / chat-sdk-ios

Chat SDK iOS - Open Source Mobile Messenger
http://sdk.chat
Other
913 stars 276 forks source link

Action sheet closes app #518

Open ronaldo-triibo opened 3 months ago

ronaldo-triibo commented 3 months ago
  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.