flutterforceclose

Flutter app is always running even when closed


I built a flutter app but, even when it's closed, I have the silent notification

"App is running - tap for more information or to stop the app"

The only way to remove the notification is by clicking on it to open the app info and click on "force stop"

The only package that I thought could be suspicious is "WakelockPlus" that allow the screen to stay always active but the problem occurs even if I disable it.

Does anyone faced this problem? How can I solve it?

enter image description here


Solution

  • I have found the issue. I was using a package playify which has a bug that causes MediaPlayer finalized without being released. I removed the package and the issue is gone.