-
Notifications
You must be signed in to change notification settings - Fork 101
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
How to remove notification from status bar? #250
Comments
When you do this
you can remove it with this
|
I have used val notificationManager = NotificationManagerCompat.from(context) and val notificationManager =
|
Please Reopen this issue , this issue is still occurring and also provide the exact solution for it |
This repo comes with a contribution model. I'm not the only one who can contribute |
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you! |
Sorry for the late response. |
i tested it not working properly and application crash |
Please show me the crash. I guess a crash would be found by CI, but maybe I'm wrong |
I have attached a notification when starting the service like below
mqttClient!!.setForegroundService(notification.build(), notificationId)
Now my issue is when I disconnect and close the mqtt connection still notification not removed from the status bar. Please suggest how can I remove that notification after mqtt disconnection.
The text was updated successfully, but these errors were encountered: