title: How to deal with local network changes (NSLocalNetworkUsageDescription) on iOS 14?
body: <p>Our application connects to a local WiFi network (using TCPClient) for data communication purposes.</p>
  <p>But in iOS 14 the connection fails completely because two processes take place at the same time:</p>
  <ol>
  <li><p>TCP client initialization</p>
  </li>
  <li><p>Current network permissions</p>
  </li>
  </ol>
  <p>So the connection to the local network is blocked until we reopen the application.</p>
  <p>To avoid this, we're doing a hack: Pinging to a local IP address triggers the current network permissions (this is done in the OnActivated() method of AppDelegate).</p>
  <p>The connection only works properly if it is connected to that particular network otherwise it fails.</p>
  <p>Has anyone faced this issue before? I appreciate any suggestions from the community.</p>