I’ve successfully implemented the real push notification service according to this guide. (https://devdactic.com/ionic-push-notifications-guide).
Now I can send push notifications to the android device using ionic.io dash board. And using postman with the device token.
I need to send push notifications to all the users of my application. For that I can use ionic.io dash board. but it has to be done manually.
What I want is, to send push notifications from my server to all the users.
For that the device tokens are a necessary in the post request.
Is there a possible way to send push notifications from a server without the knowledge of the device tokens (like using an api call from ionic.io)?
Or do I have to retrieve all the registering apps’ device tokens at the beginning and use them when I need to send push notifications?