Make image show on AoD

I would like an image to show on my AoD display if the numbers of unread notification is more than 0. How and where should tag this? Tried to play around in the color settings for the image, but I just cant figure out the correct way to tag it.

Hello, there is no way to tag it, there is no tag for the notifications among available tags

What about [UNREAD_NC]?

Sorry, I did not notice that one.
Well, then your image could have the opacity set to default zero and in the tag field an expression like [UNREAD_NC]>0?100:0
or like 100*clamp([UNREAD_NC], 0, 1)

Thanks! I tried this but couldn’t get it to work

Sorry, I cant check it on real device. On the preview it works


Check this example file (rename from .zip to .wfs and open in WFS)
Notif.zip (164.9 KB)

does the Unread Notifications work? I tried it on my watch face and it doesn’t seem to work in normal or AOD the count is always zero.

Ron

Seems to work on the preview for me as well after I tried one of the tags you suggested, but on the watch it does not work

No, I tried both and can’t get any of them to work

It worked for me, It only shows unread WATCH notifications not your phone notifications.

Ron
Samsung Developer Relations

Could you please share what expression to use and where to put it? Is there a way of doing the same thing but for phone notifications?

I noticed I got a notification of a text message and it didn’t change the tag. But when I got an internal notification my step count was met then the notifications worked.

this may be a bug, I’ll play with it some more and let you know.

Ron
Samsung Developer Relations

1 Like

This worked (once I remembered to remove the default 100 %) AoD and normal display.

It does not work with phone notifications and I think you’d need a companion app on your phone to make it work.

Ron
Samsung Developer Relations

1 Like