Hi, guys, so I have question. What is the rigth way to send push notifications to array of tokens ?
Example, input array ["token1", "token2", "token3"]
What I do
["token1", "token2", "token3"].each do |token|
APN.notify_async(token, options blah blah)
end
I think this is not a right way to send multiple notifications. Because each time created new persistent connection to apn socket. Or connection always opened ? Please correct me.
Hi, guys, so I have question. What is the rigth way to send push notifications to array of tokens ? Example, input array ["token1", "token2", "token3"] What I do
I think this is not a right way to send multiple notifications. Because each time created new persistent connection to apn socket. Or connection always opened ? Please correct me.