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):
<platform name="ios" <edit-config target="NSLocalNetworkUsageDescription" file="*-Info.plist" mode="overwrite" <string>Network 1</string </edit-config </platform
Is there a way to ask the user permission, as i’m hoping this is the final piece to get it working.