# Sending realtime data from standalone Apple watch app to web application

**URL:** <https://forums.swift.org/t/sending-realtime-data-from-standalone-apple-watch-app-to-web-application/48313>\
**Category:** Using Swift\
**Tags:** feedback, network\
**Created:** [May 13, 2021, 12:48pm UTC](https://forums.swift.org/t/sending-realtime-data-from-standalone-apple-watch-app-to-web-application/48313 "2021-05-13T12:48:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BerendVandenbussche](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/berendvandenbussche/32/17218_2.png) [@BerendVandenbussche](https://forums.swift.org/u/BerendVandenbussche)\
**Post date:** [May 13, 2021, 12:48pm UTC](https://forums.swift.org/t/sending-realtime-data-from-standalone-apple-watch-app-to-web-application/48313/1 "2021-05-13T12:48:21Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Lantua](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/lantua/32/8868_2.png) [@Lantua](https://forums.swift.org/u/Lantua)\
**Post date:** [May 13, 2021, 3:06pm UTC](https://forums.swift.org/t/sending-realtime-data-from-standalone-apple-watch-app-to-web-application/48313/2 "2021-05-13T15:06:22Z")

</div>

This seems to be more about iOS development than Swift language. You might have better luck over [Apple Developer Forums](https://developer.apple.com/forums/).

---

<div class="post-metadata">

**Author:** ![BerendVandenbussche](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/berendvandenbussche/32/17218_2.png) [@BerendVandenbussche](https://forums.swift.org/u/BerendVandenbussche)\
**Post date:** [May 13, 2021, 3:13pm UTC](https://forums.swift.org/t/sending-realtime-data-from-standalone-apple-watch-app-to-web-application/48313/3 "2021-05-13T15:13:32Z")

</div>

Okay, thanks I will try it there 🙂

---

<div class="post-metadata">

**Author:** ![eskimo](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/eskimo/32/13558_2.png) [@eskimo](https://forums.swift.org/u/eskimo)\
**Post date:** [May 13, 2021, 4:45pm UTC](https://forums.swift.org/t/sending-realtime-data-from-standalone-apple-watch-app-to-web-application/48313/4 "2021-05-13T16:45:38Z")

</div>

> 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
