what is the best approach to link ionic push device token with my users id stored in my sql db?
For example if i schedule a push notification in 6 months for a specific token and my custom user id (saved in the database), if in the meantime the user do the logout (so, i have to unregister from notifications) and login to another device, how can i manage this? The token changes? then i have to update the old scheduled notification? What you suggest?
I hope I was clear
I would save this “notification” in the database with a connection to the user. Then when the worker sending the notification is activated in 6 months time, just get the current push token(s) and send a push there.