It is possible to group,filter or exclude some of the push notifications receivers? Or every notification will be received by all receivers? Thx.
It is possible to group,filter or exclude some of the push notifications receivers? Or
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A push notification is sent to a single device only. Once it hits the device, if the user opts to open the app from the push, i.e. they tap the “View” button, it gets received by your
UIApplicationDelegateinstance (i.e. object conforming to theUIApplicationDelegateprotocol) which is where you process it.So in both of the places where you interact with the push notification system, there is just 1 entity you are dealing with. That is, you are pushing to a single device and when you receive it in your app it’s a single instance that receives the data. So I’m not entirely sure what you mean when you want to group or filter some receivers.
If you mean that you want to only push to some of the devices that are registered then that is entirely up to your server. If you don’t want to code this yourself then I suggest taking a look at something like http://urbanairship.com/ because they do a service where they handle all the server side of push notifications for you and give you facilities such as groups.
Further reading: