Persistent Background Task in iOS 2024

41 Views Asked by At

I need to run a persistent background task, which speaks if a new message comes in to inform the user. Till now i couldn't find any "legal" way to make that happen. Apple has pretty strict guidelines on that.

I am using flutter with the package flutter background service. It worked perfectly for android with an ongoing foreground process, but due to ios restrictions my process is killed after a short time in the background.

If it's necessary i can also implement something natively in ios.

A friend recommended me this: Continuously run an IOS app in the background even after sleep or reboot Anyone experience if this solution still works and passes the review?

Push notifications are not an option as they can't be read out loud. Also silent push could technically wake up my background process, but is also limited, so that's not an option either.

Looking forward for any answer, i also thought of contacting apple, i have read that special tasks can be sometimes allowed. (audio or timer, voip for example can be ongoing processes)

0

There are 0 best solutions below