Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action sheet closes app #518

Open
ronaldo-triibo opened this issue May 14, 2024 · 0 comments
Open

Action sheet closes app #518

ronaldo-triibo opened this issue May 14, 2024 · 0 comments

Comments

@ronaldo-triibo
Copy link

ronaldo-triibo commented May 14, 2024

  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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant