Support Topics Documentation Slack YouTube Blog

How to Filter Push Notifications on a Channel


(Jonathan ) #1

I was trying to figure out how to filter a push notification on a channel. I am publishing a message from my business logic and passing header values. I would like the message to go to a channel but for the user whose userId is passed in the header to not receive the push notification.

Can someone help understand how that would work. I’m using Javascript for Business Logic and using iOS for App code.

Thanks


(Mark Piller) #2

Hi Jonathan,

I do not think you can exclude users from receiving a push notification. Instead you can target a specific user (i.e. device) when sending a notification. Here’s an example: https://backendless.com/docs/ios/push_target_specific_devices.html

Regards,
Mark


(Jonathan ) #3

Thank you Mark. I think this will work for my purposes.