When we have all connection
When we switch the device to flight mode, the lib app is crashing.
Tested in Android emulators and physical device.
package version: 1.0.8
Log event:
FATAL EXCEPTION: DefaultDispatcher-worker-4 Process: example.app, PID: 12342 java.lang.ClassCastException: java.net.UnknownHostException cannot be cast to java.util.Map at io.dyte.socketio.engine.EngineSocket.onError(socket.kt:534) at io.dyte.socketio.engine.EngineSocket$setTransportInternal$3.invoke(socket.kt:200) at io.dyte.socketio.engine.EngineSocket$setTransportInternal$3.invoke(socket.kt:200) at io.dyte.socketio.EventEmitter.emit(EventEmitter.kt:23) at io.dyte.socketio.engine.transport.WebSocketTransport$doOpen$1.invokeSuspend(websocket_transport.kt:65) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684) Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@66d14c1, Dispatchers.Default]
When we have all connection When we switch the device to flight mode, the lib app is crashing.
Tested in Android emulators and physical device.
package version: 1.0.8 Log event:
FATAL EXCEPTION: DefaultDispatcher-worker-4 Process: example.app, PID: 12342 java.lang.ClassCastException: java.net.UnknownHostException cannot be cast to java.util.Map at io.dyte.socketio.engine.EngineSocket.onError(socket.kt:534) at io.dyte.socketio.engine.EngineSocket$setTransportInternal$3.invoke(socket.kt:200) at io.dyte.socketio.engine.EngineSocket$setTransportInternal$3.invoke(socket.kt:200) at io.dyte.socketio.EventEmitter.emit(EventEmitter.kt:23) at io.dyte.socketio.engine.transport.WebSocketTransport$doOpen$1.invokeSuspend(websocket_transport.kt:65) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684) Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@66d14c1, Dispatchers.Default]
Is there any solution for this?