Push notification from java app

I have my Ionic app in wich i send broadcast notifications to all users and it works perfectly.
What i want nom is to send some notifications to specific users. From the documentation, I read that i need to use user’s token to achieve that.
I know how to take the token from the user’s device but where do i store it? In ionic.io platform or in my server?
Supposed the tokens are stored in my local database, can i use the provided ionic push api to send notification from my java app?

I used Onesignal for notifications and with that you can do it i guess. If you save the playerId that Onesignal gave you to db and from your java app by using androis skd for onesignal. you can take notifitcations with thoose playerId i guess.

1 Like