flutter_background_service icon indicating copy to clipboard operation
flutter_background_service copied to clipboard

setAsBackground method does not run the app continuously in the background on Android

Open ChanakaDev opened this issue 1 year ago • 1 comments

If the background service has been started by invoking the method "setAsForeground", the app runs continuously even if it is removed from the drawer. However, if the background service was started by invoking the method "setAsBackground", it doesn't run continuously. When I remove the app from the app drawer, it also gets killed. I tested both scenarios on my Xiaomi Android device.

ChanakaDev avatar Jan 04 '24 17:01 ChanakaDev

I am also facing a similar issue. The Flutter plugin for Baidu Maps has also encountered some unpredictable bugs due to the use of this component. Additionally, I have recently faced issues while integrating the audio_session.

shihanjun19 avatar Jan 17 '24 06:01 shihanjun19