From 9d1293191db1b4e56c714b34ffcbbc414cbeea17 Mon Sep 17 00:00:00 2001 From: Jonathan Bagg Date: Fri, 17 Sep 2021 20:17:18 -0400 Subject: [PATCH] Added iOS 14 note to README.md --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index ce5285d..69a0b45 100644 --- a/README.md +++ b/README.md @@ -127,3 +127,18 @@ Publishing GPL software in the App Store is a [violation of the GPL](https://new ### iOS device sleep When iOS puts the device to sleep, it breaks the DNS-SD browser and service publisher. The only way around this is to call stopServicePublish() and stopBrowser() when the application state changes to Qt::ApplicationSuspended (sleep) and then call startPublish() and startBrowser() when the application state changes to Qt::ApplicationActive (wake). See appStateChanged() in example. + +### iOS 14 and up + +iOS 14 and up requires apps to have permissions to access the local network. See [this video](https://developer.apple.com/videos/play/wwdc2020/10110/) Two keys must be added to the info.plist.... + +```xml +1. NSLocalNetworkUsageDescription + This app will need access to the local network for Discovery services. +2. NSBonjourServices + + _myservice1._tcp + _myservice2._tcp + +``` +