WordPress LMS for Web and mobile Forums WPLMS Student App Where you are sending the FCM device token to the server?

Where you are sending the FCM device token to the server?

Back to course
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #54516

    Demo Man
    Participant

    Hi,

    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

    #57333

    WPLMS
    Keymaster

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.