eduvpn / apple

app for iOS and macOS
Other
58 stars 18 forks source link

Suppress sleep wake handling in ios #507

Closed roop closed 1 year ago

roop commented 1 year ago

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).