We are using NWBrowser.State to check to for NWError.dns(DNSServiceErrorType(kDNSServiceErr_PolicyDenied)) to identify if the user has granted local network privacy permission, which was introduce with iOS14.
This works fine so far but we are seeing that the first update in NWBrowser.stateUpdateHandler after nwBrowser.start is always ready. To overcome this and not respond to a false-positive, we currently need to debounce this first value.
Is this the expected behaviour or a Bug in NWBrowser?
This works fine so far but we are seeing that the first update in NWBrowser.stateUpdateHandler after nwBrowser.start is always ready. To overcome this and not respond to a false-positive, we currently need to debounce this first value.
Is this the expected behaviour or a Bug in NWBrowser?