Kommunicate-iOS-SDK
Kommunicate-iOS-SDK copied to clipboard
Crash in 6.7.3 when adding videos
Steps to reproduce:
- Tap on any chat
- Tap on camera icon in order to start recording video
- Tap on red button to start
- Record for 3-5 seconds and stop
- Tap on play button and in the middle of the video tap on “Use Video” in the bottom right corner
- Observe
This only happens when you first enter the chat.
According to the Xcode crash it seems the chat tableview row is added before the data source is updated which causes a mismatch between the number of rows in the table and data source.
Here's a screen recording from one of our apps:
https://user-images.githubusercontent.com/3634920/201914046-c38f57a3-5506-45ce-a3bd-a03c9784d2f5.mov
Thank you for reporting. We have filed a ticket for this, we will fix this in upcoming releases. It would be really helpful if you could share your device and OS details.
It was confirmed at least on iPhone 8 (iOS 15.0) and iPhone 14 Pro (iOS 16.1) so I don't think it's OS or device related.
@ivan-pavlovic This is fixed in version 6.7.9.