On the filter Data provider, based on certain conditions I either allow or drop the packets. I've set the "shouldReport" field to true.
On the filter control provider, I do override the handleReport function.
When I drop the packet in handleInboundComplete, with the following line :
result = NEFilterDataVerdict.drop()
return result
The flow is getting dropped as expected. I also expect that handleReport, inside FilterControlProvider to get called with the report stating whether the flow was dropped or allowed. But this does not happen.
Any ideas, why?
Is there a better way for Filter Control provider to know about the verdict made by Filter Data Provider, about a flow?