I am using NEfilterdata class to get the NEfilterflow and converting it into browserflow. I am not getting the data in browserflow at first time loading the website but gettiing the data on second time loading the website.
Thats why my filtering logic only applies when i reload the page not on first time usage.
guard let browserFlow : NEFilterBrowserFlow = flow as? NEFilterBrowserFlow
else { return NEFilterDataVerdict.init(passBytes: readBytes.count, peekBytes: 10000000) }