I have seen the code and I noticed under the config.ts push_notification->registrationId you have stored the fcm token. But under the code where the token is sending to server or which API are we using to send that. Thank you
This is stored in the firebase project realtime database.
A corresponding key for every user ID is created, the key’s value is the device token ID , so we have all the Token Ids generated for the user.
So, any notification sent to the user, is also sent to all his connected devices.
This works in sync with the WPLMS Push notifications addon.