I’ve just got through Ionic Push / Full Setup docs and succeeded in sending pushes via Ionic Platform. The problem comes when I try to make my own POST http request. I am obliged to pass an array of device tokens ( “tokens”: [“your”, “device”, “tokens”] ). It seems that tokens are persisted on Ionic Platform (code taken from the tutorial):
push.saveToken(token); // persist the token in the Ionic Platform
And there comes the problem I’m struggling with: in order to make my own push POST request the device tokens should be stored on my own server (am I right?). But this is what I really do not want do to. I wish I could get all the registered tokens from Ionic Platform via another http request, is it ever possible?