-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
When foreground mode is enabled, the application starts a foreground service successfully and the service works correctly while the app is open or running in background.
However:
When the user closes the app (removes it from recent apps / swipes it away), the foreground service is automatically killed by the system, even though it should continue running.
Expected Behaviour
According to Android foreground service behavior:
- A foreground service should continue running independently of the app UI.
- Closing the app activity should NOT stop the foreground service.
- The service should remain alive as long as:
startForeground() is active - foreground notification is visible
Device Tested on : POCO S5 pro Android 15
Is there an way to start the foreground mode by default .
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels