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

Permanent Notification #88

Open
diegoleondev opened this issue Apr 5, 2024 · 1 comment
Open

Permanent Notification #88

diegoleondev opened this issue Apr 5, 2024 · 1 comment

Comments

@diegoleondev
Copy link

How can I make the notification undeletable?

@Pauligrinder
Copy link

Pauligrinder commented Jun 12, 2024

I don't think you can. Android 14 has changed the behaviour such that the previously permanent notifications can also be dismissed. On older versions I think the parameter ongoing=true should do the trick.

A hack for Android 14, I guess, would be to launch a background task periodically that checks for the notification and sends it again if it has been dismissed.

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