chat-sdk / chat-sdk-ios

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

Send image not working #517

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, click on the + button and select Choose Photo. The image picker shows and then select any photo to send.

  5. Expected result: The selected photo is sent to the recipient.

  6. Actual result: Nothing happens.

  7. Comments: The following error is shown in Xcode: Attempt to present on (from ) which is already presenting .