Post

Replies

Boosts

Views

Activity

Reply to DNS Proxy Provider remains active after app uninstall | iOS
Thank you so much for the clarification! Just to make sure I fully understand: you're suggesting that the correct approach is to continuously loop over readDatagrams() until it either returns an error like NEAppProxyFlowError.aborted or no datagrams. Within each iteration, I should add a new Task (or handle them concurrently) for processing the datagrams, while keeping the overall flow open and tracking task state if needed. Is that correct?
May ’25
Reply to DNS Proxy Provider remains active after app uninstall | iOS
Thank you for your response, it was incredibly helpful in organizing my approach to flow lifecycle management. I also wanted to share that the main issue appeared to stem from how the flow was being opened. Initially, I was using: try await flow.open(withLocalFlowEndpoint: flow.localFlowEndpoint) After updating to: try await flow.open(withLocalFlowEndpoint: nil) …the same code began working as expected on iOS versions > 18.4.1. Really appreciate all your help throughout the investigation!
May ’25