Android-Oreo-Foreground-Service-Simple-Example icon indicating copy to clipboard operation
Android-Oreo-Foreground-Service-Simple-Example copied to clipboard

Notification is removed

Open saritagandhi opened this issue 6 years ago • 1 comments

Notification is removed from notification bar when app is killed by user.As this is forground service it should not b removed.

saritagandhi avatar Mar 30 '19 06:03 saritagandhi

If you use Youtube Music or other music player app that use foreground service, they make it in this way. If you kill the app it dies. The reason why we use foreground app is when app is not in foreground, we make a notification bar, so it keep runs on foreground to continuously play musics.

InKyu0317 avatar Feb 07 '20 07:02 InKyu0317