Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Simulator with websocket and localhost

I have an app where data is sent from the device (Ionic) to an Android phone using websocket and localhost. This works 100% with physical devices. Now I wanted to test also with other devices (like Versa) using Fitbit OS simulator. It works otherwise, but websocket does not connect. Console gives the following error:

InvalidStateError: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.

Should websocket/localhost connection work with simulator?

Best Answer
0 REPLIES 0