flutter_background_service
flutter_background_service copied to clipboard
setAsBackground method does not run the app continuously in the background on Android
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.
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.