I'm using Zendesk Messaging SDK to implement chat function. I got the crash log from Firebase regarding the SDK as below:
Crashed: com.apple.main-thread
0 ZendeskSDKConversationKit 0x48cf4 specialized Sequence.forEach(_:) + 6692 (<compiler-generated>:6692)
1 ZendeskSDKConversationKit 0x4c470 specialized closure #1 in closure #1 in ConversationKitStore.send<A>(action:_:) + 58 (Observable.swift:58)
2 ZendeskSDKConversationKit 0x4c470 specialized closure #1 in closure #1 in ConversationKitStore.send<A>(action:_:) + 58 (Observable.swift:58)
3 ZendeskSDKConversationKit 0x47ad4 thunk for @escaping @callee_guaranteed () -> () + 2052 (<compiler-generated>:2052)
4 libdispatch.dylib 0x26a8 _dispatch_call_block_and_release + 32
5 libdispatch.dylib 0x4300 _dispatch_client_callout + 20
6 libdispatch.dylib 0x12998 _dispatch_main_queue_drain + 984
7 libdispatch.dylib 0x125b0 _dispatch_main_queue_callback_4CF + 44
8 CoreFoundation 0x3720c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
9 CoreFoundation 0x33f18 __CFRunLoopRun + 1996
10 CoreFoundation 0x33668 CFRunLoopRunSpecific + 608
11 GraphicsServices 0x35ec GSEventRunModal + 164
12 UIKitCore 0x22c2b4 -[UIApplication _run] + 888
13 UIKitCore 0x22b8f0 UIApplicationMain + 340
14 TheIconic_iOS 0x5a24 main + 13 (main.swift:13)
15 ??? 0x1acfbadcc (Missing)
For that log, I guess the crash happens when the user first launches the app when the SDK is initialized successfully, then adding the observer to listen the unread messages count.
Thanks for any help!
