Getting crash every time when I try to test syncmanager in offline mode, for offline mode whenever I just turn off data and wifi option or to switch on aeroplane mode, device automatically become detached with below mention details.
Version I am using
SendBirdSDK (3.0.193) SendBirdSyncManager (1.1.26)
Error message
Lost connection to the debugger on “iPhone”.
On opening error detail
Lost connection to the debugger on “iPhone”.
Domain: IDEDebugSessionErrorDomain
Error on debugger
**2021-01-11 00:58:25.911262+0530 SendBird-iOS[2346:424963] Connection 6: received failure notification
**2021-01-11 00:58:25.911374+0530 SendBird-iOS[2346:424963] Connection 6: failed to connect 12:8, reason -1
**2021-01-11 00:58:25.911426+0530 SendBird-iOS[2346:424963] Connection 6: encountered error(12:8)
**2021-01-11 00:58:25.911225+0530 SendBird-iOS[2346:425207] [connection] nw_connection_get_connected_socket [C5] Client called nw_connection_get_connected_socket on unconnected nw_connection
**2021-01-11 00:58:25.911645+0530 SendBird-iOS[2346:425207] TCP Conn 0x28228e890 Failed : error 0:-65554 [-65554]
**2021-01-11 00:58:25.927569+0530 SendBird-iOS[2346:425206] Task .<8> HTTP load failed, 0/0 bytes (error code: -1009 [12:8])
**2021-01-11 00:58:25.935435+0530 SendBird-iOS[2346:425206] Task .<8> finished with error [-1009] Error Domain=NSURLErrorDomain Code=-1009 “The Internet connection appears to be offline.” UserInfo={_kCFStreamErrorCodeKey=8, NSUnderlyingError=0x281b40870 {Error Domain=kCFErrorDomainCFNetwork Code=-1009 “(null)” UserInfo={_kCFStreamErrorCodeKey=8, _kCFStreamErrorDomainKey=12}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask .<8>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
**“LocalDataTask .<8>”
**), NSLocalizedDescription=The Internet connection appears to be offline., NSErrorFailingURLStringKey=https://api-<Application_ID>.sendbird.com/, NSErrorFailingURLKey=https://api-<Application_ID>.sendbird.com/, _kCFStreamErrorDomainKey=12}
Getting this issue in SyncManager sample project but not in UIKIT sample.