0 reply
0 recast
0 reaction
2 replies
0 recast
5 reactions
1 reply
0 recast
1 reaction
2 replies
0 recast
0 reaction
1 reply
0 recast
0 reaction
(Let's forget the resending part, it's too much of a change, my fault for mentioning it here.)
My issue with with the current design:
The spec is designed (and explained, see bellow) from the perspective of an application like WC. For you, a notification is something that must be presented to up to 100 users, you need a Id, and you call it notificationId. You don't care if this id identifies the same text or not.
Otoh, from the sender's perspective, a notification is something that must be sent to their users, and a "notificationId" is usually something that identifies the message to be sent (especially if it's a broadcast).
There is a solution and I think it should be mentioned in the docs: notificationId is up to 128 characters, which means it is easy to have an "id-batchNumber" notificationId, that works both for WC (you get a different id) and the sender (have a single id for what they call a notification, and append the batch number to make each batch unique). 0 reply
0 recast
0 reaction