Sending realtime data from standalone Apple watch app to web application

For my bachelor's thesis, I chose to research the possibility to send real-time data from a standalone Apple Watch app to a web application. When researching how to do this I came up with 2 possibilities. The first one is sending the data with socket io to my Python backend server and using WebSockets to send it to the web application. The second option was using the WebRTC technology to create a peer-to-peer connection between the Watch and frontend.

I chose to do the first one because of the complexity of using WebRTC for the first time and lost some time trying to implement it.

I can't help to feel that there should be a better way to do this. As I'm reflecting on the project in my thesis I would like to know if anyone knows a better solution for this use case.

This seems to be more about iOS development than Swift language. You might have better luck over Apple Developer Forums.

Okay, thanks I will try it there :slight_smile:

I will try it there

Cool beans!

Please mark your DevForums post with the Network tag so that I see it go by.

Share and Enjoy

Quinn “The Eskimo!” @ DTS @ Apple

2 Likes