Search code examples
dartflutterboot

How to start an app on boot with flutter?


I'm trying to find an example (or generally figure out) how to create a flutter app that starts when the mobile phone boots up.

Are there any flutter/dart specific examples or packages for this?

If not, how would I have to implement such a functionality? (I've found some java examples for Android, but I would prefer a way to do it with dart that also works on iOS)


Solution

  • In short, iOS does not allow to have this kind of behaviour.

    Additional info you can find here

    voip (from Background modes)

    The app provides Voice-over-IP services. Apps with this key are automatically launched after system boot so that the app can reestablish VoIP services. Apps with this key are also allowed to play background audio.