Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide notification when no song is playing #6

Open
Tamriel opened this issue Feb 4, 2024 · 1 comment
Open

Hide notification when no song is playing #6

Tamriel opened this issue Feb 4, 2024 · 1 comment

Comments

@Tamriel
Copy link

Tamriel commented Feb 4, 2024

No description provided.

@IllusionMan1212
Copy link
Owner

I'm not sure if this is possible since the app runs a foreground service and the system requires that foreground services ALWAYS have a notification (Android 13 and up allows users to dismiss the notification of a foreground service https://developer.android.com/develop/background-work/services/foreground-services)

I can experiment with having the service be a background service instead but I'm afraid the system might kill the service prematurely and cause the app to not listen to notifications. I'll let you know if a notification-less background service is feasible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants