Skip to content

Firebase integration

Mukesh Biswas edited this page May 27, 2019 · 4 revisions

Register your device id and fcm token

.registerFcmToken(params)

Params:

{
    device_id: <unique device id>,  
    registration_id: <fcm token>
}

This will register your device in UP server to send push notification to devices. If the user is logged in, the device will be associated with the user in UP system. (It's recommended to call registerFcmToken on successful user login.)

However, displaying push notifications in devices need to be handled separately.
Ref:

Clone this wiki locally