04-28-2020 02:59
04-28-2020 02:59
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?