Android: Persistent notifications are dismissed when clicked

Created on 11 Jun 2020  路  3Comments  路  Source: home-assistant/android

Home Assistant Android version:
1.9.0-172
Android version:
10 (June update)
Phone model:
Pixel 3a
Home Assistant version:
0.110.7
Last working Home Assistant release (if known):
N/A
Description of problem:
I'm trying the new persistent notifications, and they work well in that you can't swipe the notification away. But if you tap the notification, it is dismissed.

Traceback (if applicable):


Screenshot of problem:

Additional information:
I've done the full clear data/delete integration/re-setup and am still getting this error.

bug notifications

Most helpful comment

I think you are mixing up persistent and sticky.
Persistent - Can't swipe to dismiss notification.
Sticky - Even after clicking notification stays. (https://companion.home-assistant.io/docs/notifications/notifications-basic#sticky-notification)
You should be able to use both in combination if that's what you are looking for.

All 3 comments

I think you are mixing up persistent and sticky.
Persistent - Can't swipe to dismiss notification.
Sticky - Even after clicking notification stays. (https://companion.home-assistant.io/docs/notifications/notifications-basic#sticky-notification)
You should be able to use both in combination if that's what you are looking for.

Yup sticky along with persistent and tag does make the notification stay when its selected. Looks like we have total control over the notification now, thats amazing! I will add a note to my docs PR about this to avoid confusion :)

@JBassett I wasn't even aware those were two separate options. sticky plus persistent is what I was going for and is working perfectly. Thanks!

Was this page helpful?
0 / 5 - 0 ratings