objective c - iOS Push Notifications to specific user in the same deviceToken -



objective c - iOS Push Notifications to specific user in the same deviceToken -

i using urban airship test force notification , went well.

my problem how specify user notification not device token.

i mean in situations 1 device has multiple users, many users registered same device token server.

or have filter on device (client side) itself?

there's no real way want unfortunately. in apns there's such thing device. force device , shows message / badge / sound on device.

if app can have multiple users associated you'd need work out force user relates , handle accordingly. how depend on app add together in custom key force indicated user it's for.

if app ever has 1 user logged in @ 1 time suggest when hand force token server, server first turns off force user token registered , subsequently turns force on new user.

objective-c ios push-notification apple-push-notifications

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -