I am trying to connect my app with another device using UDP and TCP. I can get the communications to work completely fine with Android but not iOS. I am using UDP and TCP plugins.
From the iOS website, i believe i need the user to grant Local Network Access permission and then hopefully they can communicate with the device.
If i try set the NSLocalNetworkUsageDescription as mentioned here, the user is never prompted to accept this when the app first starts.
I use this code in config.xml (need to put a > at the end of each line below otherwise text disappears):
Tip: If you’re pasting code, html or config files, surround the code with triple back ticks (```), before the first line and after the last one. It will be formatted properly. (We fixed it for you this time)
Unknown interface. Specify valid interface by name (e.g. "en1") or IP address.
This occurs on this line chrome.sockets.udp.bind(USPsocketID, "255.255.255.255", 15000, bindSuccess)
I’m not sure what the error is referring to because the IP address is there, and above works fine with Android. Not sure if iOS is stopping it.