Hello, Intercom team.
I've encountered a serious problem when using Intercom ios sdk on the latest versions of ios 16.4 and higher, the application began to crash with an error when trying to open a conversation from the list of conversations in Intercom. (1)
After that, I tried to update Intercom version to 14.1.0 but faced an even more serious problem, the application began to crash when opening the Intercom screen (after calling Intercom.presentMessenger()), including on older iOS versions. (2)
Are you aware of these problems and can you suggest a solution?
1)
Xcode Version 14.3 (Swift)
iPhone iOS versions 16.4 and 16.4.1
Intercom iOS SDK version 13.0.0 (installed with cocoapods)
Error description:
Thread 1: "Invalid batch updates detected: the number of sections and/or items returned by the data source before and/or after performing the batch updates are inconsistent with the updates.\nData source before updates = { 1 section with item counts: 1] }\nData source after updates = { 1 section with item counts: 1] }\nUpdates = \n\tInsert item (0 - 0)\n]\nCollection view: <IntercomSDKPrivate.TouchTransparentCollectionView: 0x15e328000; baseClass = UICollectionView; frame = (-375 0; 375 627); transform = 1, 0, 0, 1, -375, 0]; clipsToBounds = YES; alpha = 0; gestureRecognizers = <NSArray: 0x6000022d8cf0>; backgroundColor = UIExtendedGrayColorSpace 0 0; layer = <CALayer: 0x600002cc6dc0>; contentOffset: {0, -56}; contentSize: {375, 513}; adjustedContentInset: {56, 0, 0, 0}; layout: <ICMHomescreenFlowLayout: 0x15d016520>; dataSource: <ICMHomescreenViewController: 0x15d8d0200>>"
2)
Xcode Version 14.3 (Swift)
iPhone iOS versions 15.*, 16.*
Intercom iOS SDK version 14.0.0 and 14.1.0 (installed with cocoapods)
Error description:
Thread 1: " <IntercomSDKPrivate.HomeHeaderViewController 0x15995b000> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key bannersView."