9

I want to show a custom popup message whenever the user disconnects a cellular call. The problem is how to detect when the app is not running. any leads would be helpful.

swapnil kumar
  • 101
  • 1
  • 1
  • 5
  • https://github.com/flutter/flutter/issues/3671#issuecomment-404237222 This is work in progress. I don't know if there is currently a working solution. – Günter Zöchbauer Jul 26 '18 at 13:28
  • to show a popup from background, try this https://pub.dev/packages/system_alert_window – Vamsi Sep 02 '20 at 18:06

1 Answers1

8

It's been a while and there have been many developments.

First, there are some answers at How to create a service in Flutter to make an app to run always in background?

Also, flutter/Background processes will basically point you to medium/Executing Dart in the Background with Flutter Plugins and Geofencing (Sept 2018)

Alas, there are many plugins available now:

TWL
  • 6,228
  • 29
  • 65