When I use channel.push android throws this exception android.os.NetworkOnMainThreadException
channel.push("new_msg", "Hi")
.receive("ok", { _ ->
// message sent
})
I think that this library use another thread to call each method like push or connect