I want to target a list of devices for a push notification, send via server code. When I implement deliveryOptions.addPushSinglecast( ArrayOfDeviceIDs );
the push notification is only sent to the first entry in the array, is it possible to target all those devices in a single call?
As a work around I loop through the array and send the push notification every time for each individual deviceID
I tried deliveryOptions.setPushSinglecast( deviceIDArray); and also printed the contents of deviceIDArray which returned [2A77247C-BAE3-406D-A0E1-AD9E393F831B, 2A77247C-BAE3-406D-A0E1-AD9E393F831B]
However I am still receiving only one notification
Hi, Mitchell.
The array setPushSinglecast is used to send messages to a set of device. For one-time sending.
And there is no sense to put two identical deviceId, because they point to the same device.
I’ve tried now with two devices and all works.
Could you describe more precisely what do want to achieve? Or post here small code snippet that reproduce the problem that you have faced with.