Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49086

App-to-app communication on local network?

$
0
0

Looking for suggestions on solutions to allow two instances of my app running on phones on the same local wifi network to talk to each other and exchange data, without using any third-party paid service.

I tried NFC, but it seems NFC isn’t overly standard hardware. The second test phone I got doesn’t have it, so that was a deadend.

I tried Websocket Server. After a lot of headache I was able to get the server running on one phone but I have no idea how to discover and connect to it from the other phone. I tried having the client run ServiceDiscovery first to try and find it but I’m not super familiar with the service type parameter it wants and the “ssdp:all” given in the example didn’t return anything that looked like my service. So this might be a viable avenue but I’m currently at a wall with it.

I guess the next thing to try is Bluetooth?

Hopefully someone has some suggestions. I’m really surprised at how complicated this has become, given how simple it should be on paper.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49086

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>