iOS seems to keep sending the tunnel sleep / wake notifications while the device is locked (could be for background network access). So in this PR, we don't do anything on these notifications for iOS (and continue to pause / resume the tunnel in macOS), and just let the OS manage the tunnel as it sees fit (because on-demand is still on).
Fixes #493.
iOS seems to keep sending the tunnel sleep / wake notifications while the device is locked (could be for background network access). So in this PR, we don't do anything on these notifications for iOS (and continue to pause / resume the tunnel in macOS), and just let the OS manage the tunnel as it sees fit (because on-demand is still on).