Open macMikey opened 2 years ago
You are right, if you send device tokens, we must do not care about emails The error message is?
then did you use this way to pass device tokens
$recipients:=New object
$recipients.deviceTokens:=New collection("xxxxxxxxxxxx";"yyyyyyyyyyyy";"zzzzzzzzzzzz")
$response:=$pushNotification.send($notification;$recipients)
If, instead of sending email addresses to pushNotification.send I send device tokens, I will receive an error back for every device, saying that I didn't pass an email address. That is not helpful, since sending device tokens is specifically mentioned as legitimate in the docs.