Hi,
In Android WebView , (Android 4.4) onwards, I understand that, WebSocket is supported out of the box.
In this context, if I use WebView to load HTML pages that in turn uses WebSocket client of Javascript, question is, the OnMessage() of WebSokcet gets called on main UI thread or in some other context.
If I rapidly send multiple messages from WebSocket Server to WebSocket JS client, do the OnMessage gets called serially or there is a chance that it 2 instances of OnMessage() can exist simultanelusly.
Thanks