Hi im making a LaunchDaemon app that has a NetworkExtension. I built the Network Extension using the SimpleFirewall sample project provided by apple.
My problem is that sometimes the extension terminates and when it starts again it can't communicate with the main app.
I tried setting a repeating Timer on the main app that calls a function from IPCConnection to register with the provider but that doesn't seem to work.
How should i handle this scenario.
My problem is that sometimes the extension terminates and when it starts again it can't communicate with the main app.
I tried setting a repeating Timer on the main app that calls a function from IPCConnection to register with the provider but that doesn't seem to work.
How should i handle this scenario.
After opening a TSI I decided to refactor my code and avoid using XPC given that it was not the best option for what I wanted to do. I wanted to send data from the Extension to the App and then have the App send that data to an api but it is best to have the Extension make the requests so it doesn't depend on the App.