Is there a way to figure out the data usage for each app

Hi,


I have built a VPN app using the iOS NetworkExtension framework. I want to know if there is a way in which I can record the data usage by each app that uses the VPN. Basically, I should be able to present a report that shows how much data was sent/received through the VPN by each app.


Thanks!

Replies

I have built a VPN app using the iOS NetworkExtension framework.

Is it a packet tunnel provider? Or an app proxy provider?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Hi Eskimo,

It is a packet tunnel provider.


Thanks!

It is a packet tunnel provider.

Packet tunnel providers work at the IP layer, which means they don’t get information about which apps are responsible for which traffic.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Suppose we use app proxy provider instead, can we distinguish the apps? Do we have to use MDM in this case?


Thanks!

Suppose we use app proxy provider instead, can we distinguish the apps?

I responded on the thread you created for this.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"