How to start an app on boot with flutter?

1,500

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.

Share:
1,500
Katai
Author by

Katai

Updated on December 07, 2022

Comments

  • Katai
    Katai over 1 year

    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)

    • dazza5000
      dazza5000 over 5 years
      What is your use case?
    • Katai
      Katai over 5 years
      @dazza5000 an app that receives signals (similar to a chat application), which needs to react on them. I might be able to do it with push-notifications (Firebase?) but I'm not sure about that yet. But yeah, basically, app receives information -> needs to react.
    • dazza5000
      dazza5000 over 5 years
      The most reliable way would be to use Push Notifications to signal that the app needs to do some work.