Alright, Flutter has the WebSocket recipe in the cookbook (here). And that works great against the websocket.org test server.
The thing is I want to connect with my own WebSocket server. So I first used this tutorial from SpringBoot.
Trying to make a request from the app (I am using the emulator here) to the spring boot backend did not work. I then started tinkering and removed STOMP from the spring boot backend and left it with a simple WebSocket passing strings. It works when using postman or even a webpage but it doesn't work from the app
The current state is present at this GitHub (both the spring boot and flutter projects): https://github.com/Flavsditz/websocket_sandbox
Does anyone have any tips here?
I appreciate it!