My app communicates to another device through a Wireguard VPN. The two devices are configured to only speak to each other in the app through the VPN. Because of this, there is no reason for the VPN to be active (on the iOS device) when the app is not running.
Is there a way to hide the VPN from Settings or have the Network Extension check if the app is running and deactivate itself if the app is not running?