Push same user two devices

Yo! I’m working on the push notification system and everything works great!

I’ve just a question is there a way to send the same push to all the user’s devices ?

I mean, I have an Android and an iPhone - ionic create and save perfectly the token, but when I send the push via the API only the device where I logged last receive the push.

Is there a way to receive the push on both devices ?


Ok i found the solution - well were the problem is, I develop a function on my backend which take the $token from my db and there is saved the last one not both.