I am trying to implement a chat in a cordova/android hybrid app. But the project is currently stuck with this message:
** It works fine in:
Browser on laptop
Browser in emulator
** Does not work ind
App on emulator (same error as above)
App on device (same error as above)
Browser on device (timeout)
As far as I can Google, Android 4.4.2 webview should have support for websockets. There is no problems on the network, since the device is running on the same wifi as my laptop. But I am beginning to wonder if the port could be blocked in the webview?
** Client:
Samsung Galaxy S5
Android 4.4.2
Chrome 30.0 (in webview)
Cordova 3.6.3-0.2.13
Paho Mqtt JS 3.1
** Server
HiveMQ 2.2.0
Any ideas are much appreciated :-)
/Jette