As per this example in expo documentationto attribute in PushMessage should expect string[] as well allowing support for multiple recipient for a push message.
There are few places in the codebase which results in the error when we pass list of expo tokens in to attribute:
I think proper implementation for this would either require :
a. removal of the assumption that 1 push message corresponds to single recipient
b. or converting single PushMessage into multiple duplicate PushMessages.
As per this example in expo documentation
to
attribute in PushMessage should expectstring[]
as well allowing support for multiple recipient for a push message.There are few places in the codebase which results in the error when we pass list of expo tokens in
to
attribute:I think proper implementation for this would either require : a. removal of the assumption that 1 push message corresponds to single recipient b. or converting single PushMessage into multiple duplicate PushMessages.