You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relieved that push notifs works to the point it shows two types of notifications! /kidding
I also think that these types of notifications should be deduped following the same /notifications behavior, I think it would mean using getNotifications without tag filtering first to see if FOLLOW/TERRITORY is there and discard the notification.
edit: Hmm, this could still mess with Apple's rules about onPush events (onPush, if called, must return a notification and must follow a timing that we can't know)
edit2: well we could also check if the user you're subscribed to has posted in a territory you're subscribed to and avoid onPush management altogether
edit2: well we could also check if the user you're subscribed to has posted in a territory you're subscribed to and avoid onPush management altogether
This is the fix I envisioned. Not de-duping on the client but rather skipping the push altogether. I think it makes sense to send the “user posted in territory” push if both are applicable. It’s more specific.
Is there an existing issue for this?
Describe the bug
When stacker to whom you are subscribed posts in a territory to which you’re subscribed, you receive a push notification for each, e.g.:
These are deduped in the notifications page. They should also be deduped in push notifications.
Screenshots
I forgot to take one before clearing the notifications.
Steps To Reproduce
Expected behavior
Only 1 push notification should come through
Logs
No response
Device information
iOS PWA
Additional context
No response
The text was updated successfully, but these errors were encountered: