From a8f3dac8b836ded09a1af691d7b1dacd0e74c474 Mon Sep 17 00:00:00 2001 From: Jonathan Bagg Date: Mon, 9 Oct 2017 21:33:40 -0400 Subject: [PATCH] Example now stops and starts service publish and service discovery when application is suspended (device sleeps) and becomes active (device wakes). Important on iOS devices as device sleep kills browser and service publisher. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 63c71ca..2d646f0 100644 --- a/README.md +++ b/README.md @@ -115,4 +115,4 @@ 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 start startPublish() and startBrowser() when the application state changes to Qt::ApplicationActive (wake). See appStateChanged() in example. +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.