On api push how to get the channel audience.


I am using the cordova plugin. On my app DB, I am saving for each user his channel id after getting it by the "UAirship.getChannelID", so later on i can send him a message.

On the server post api it requires to set the audience key value: 

"audience": {
"ios_channel": "9c36e8c7-5a73-47c0-9716-99fd3d4197d5"

so first I should get his devices? what method should i use to get his devices? 


Didn't find what you were looking for?

New post


1 comment

  • If you have the channel id, there are a few ways to get the device info:


    Comment actions Permalink

Please sign in to leave a comment.