notifications icon indicating copy to clipboard operation
notifications copied to clipboard

Replace bubbles that send no ID

Open danirabbit opened this issue 5 years ago • 1 comments

Not sure if this is a great idea or a terrible idea. Should replacing be opt-in or opt-out?

What I mean is, if you're an app developer and your app sends a notification: should you have to opt-out of replacing previous notifications by supplying a unique ID or should notifications only be replaced if you opt-in by supplying the same ID?

Currently, we create a random ID based on notification spawn time if the ID is null, but we could instead use the app ID as a fallback

danirabbit avatar Apr 01 '20 00:04 danirabbit

I'm leaning toward replacement being opt-out. We don't want to encourage apps to spam with a lot of notifications, so we could just show the latest notification (assuming no ID), or let developers send an ID to get the privilege of more than one notification. Basically, reward proper usage. :smile:

cassidyjames avatar Apr 01 '20 02:04 cassidyjames