I am aware that I can supply registration_ids
to the JSON request to send to multiple devices in the form of string arrays. However, I have a unique token that I want to send to each of those registration_ids
. How can I achieve that without simply looping the send request for the number of devices I wish to send to:
registration_ids: [1,2,3,4,5] data: { //if id==1, include the necessary token I wish to include. }