Tuesday, 12 April 2022

Discard a push notification when received on device

I'm using OneSignal to send push notifications to iOS and Android devices. Is it possible to discard a push notification when it's received on a iOS and Android device? It's not all of them, but some based on the payload data and if the user has the device in the background or foreground.

Update:

"discard" meaning that it is never shown as a notification.

What are my options when I don't want to disturb users with updates if they are already in foreground using their app, but in background I like to show the notification?



from Discard a push notification when received on device

No comments:

Post a Comment