How to run app in background that consumes data from the filters?

I need to check how long we can run an app in background which act as a consumer of data / control filter. What is the max time we get to run our app in background without any of these app strategies? https://developer.apple.com/documentation/backgroundtasks/choosing-background-strategies-for-your-app

Answered by DTS Engineer in 815016022

OK, cool.

In that case background execution limits are not a concern. Your NE provider runs in a separate appex process and the system runs that appex in the background as long as your provider is enabled.

The biggest concern is memory limits. Because you’re running in the background continuously, the system puts strict limits on how much memory you can use. They’re not officially documented, but you can get a feel for the sort of limit you’re looking at by reading this thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I’m not sure I understand your question. You tagged it with Network Extension and then mentioned “data / control filter”. Does that mean you’re building an NE content filter?

If so, what platform are you targeting?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Yes I am building a NE content filter and I am targeting IOS.

OK, cool.

In that case background execution limits are not a concern. Your NE provider runs in a separate appex process and the system runs that appex in the background as long as your provider is enabled.

The biggest concern is memory limits. Because you’re running in the background continuously, the system puts strict limits on how much memory you can use. They’re not officially documented, but you can get a feel for the sort of limit you’re looking at by reading this thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Can we extend the background time of an app through mdm and exempt any restrictions using mdm?

No.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

How to run app in background that consumes data from the filters?
 
 
Q