how to push notification to specific user ,not specific device.
for example, there are two device device1, device2.
then User A login our apps in device1 and register your channelid
then user B login our apps in device2 and register your channelid.
now,if user B login device1, user A login device 2.
if in our server,we want to push notification to UserA,which logined in device2. but we dont want user B (have login in device1) to get same message.
is there anyway to acheive that?
I read your document ,
that mean every time user login different device, need to update named_user for this device ChannelID?
so if for above case update UserA Linked to device2's ChannelID.
in our program we look for all ChannelID linked to named_user (UserA)
then send list of these ChannelID to your api.
then UserA will get notification, right?