Allow background activity for iOS app #2350
Replies: 2 comments 3 replies
-
|
Thanks for heads up. We currently use these entitlements as they're required by the system for every VPN. It's a constant battle against the system to prevent it from getting killed and the reasons and observability are quite opaque from Apple, but we're actively working on improving this. It was fairly stable in our pre-release testing on an iPhone 15 Pro with varying levels of battery life and on and off cellular and WiFi, however performance varies a lot between devices. Can you provide some more context on your environment? What iPhone model are you using? How old is it? How often is it killed / how long does it take? Are you on WiFi or cellular or switching often? |
Beta Was this translation helpful? Give feedback.
-
|
+1 I admittedly have an older iPhone model but it seems like the VPN disconnects every time when the phone is idle (and doesn't reconnect by itself but it has to be done manually). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Currently the iOS version of Pangolin gets disconnected after idling some time. It would be great if the app would run in the background like the original Wireguard client or e.g. Tailscale
Motivation
Permanet access to remote sites is possible, usage of internal ressources from anywhere, usage of DNS blocking internal DNS servers, etc.
Proposed Solution
1. Info.plist Configuration
Add the required background modes:
For Network Extension-based VPNs, you also need:
2. Entitlements
Your app needs specific entitlements in your .entitlements file:
For Personal VPN (older API):
3. Capabilities in Xcode
4. App ID Configuration
In the Apple Developer Portal:
Key Notes
Alternatives Considered
No response
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions