data.tag attribute is used to achieve several features. Some of them are not supported by iOS in conjunction with critical notifications (like replacing critical notification) others are supported.
Anyway, I noticed strange behavior, and later on narrowed it down to tag attribute usage.
When:
- message is actionable
- message is critical
- message contains tag
The first message sent works as expected. In particular, it opens a popup with actions to be selected.
Let’s leave this message untouched and send the same notification again.
After that:
- previous notification is not accessible
- the phone shows notifications but it’s not able to show its preview nor open popup with options. The only possible thing is to click on it opening HA application.
Are we aware of such behavior?
As I mentioned earlier, documentation says:
iOS does not support replacing critical notifications.
But it doesn’t say it breaks them.
In my understanding "doesn’t support’ mean the feature doesn’t work / setting is ignored.