You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can there be possibility that the socket events even if subscribed not being received at all but other events are being received but some particular events even after subscribing to the events are not being received. Using latest Socket IO version 2.1.2.
This is my socket IO creation code
@NetworkModule.IxfiSocket @singleton @provides
fun provideSocket(option: IO.Options) =
IO.socket(BuildConfig.SOCKET_URL, option)!!
Can there be possibility that the socket events even if subscribed not being received at all but other events are being received but some particular events even after subscribing to the events are not being received. Using latest Socket IO version 2.1.2.
This is my socket IO creation code
@NetworkModule.IxfiSocket
@singleton
@provides
fun provideSocket(option: IO.Options) =
IO.socket(BuildConfig.SOCKET_URL, option)!!
fun subscribeTxnEvents() {
socketIo.off(AppConstants.EVENT_TXN_STATUS)
socketIo.on(AppConstants.EVENT_TXN_STATUS, onEventTxnStatus)
}
The text was updated successfully, but these errors were encountered: