As per the warning on Readme, it is advisable to use firebase-admin instead of fcm-node. I followed the link to documentation but am not sure how to implement it.
It would be better to have a wiki conveying how to migrate from fcm-node to firebase-admin. Something like what exactly I need to change if I have implemented fcm-node and want to replace it with firebase-admin.
click on the link on Readme that points to admin.messaging() - there you`ll find how to get an instance of Messaging Service
Open Messaging documentation and find the methods you need to send message to devices, conditions and topics with a little more power than this interface library
As per the warning on Readme, it is advisable to use
firebase-admin
instead offcm-node
. I followed the link to documentation but am not sure how to implement it.It would be better to have a wiki conveying how to migrate from
fcm-node
tofirebase-admin
. Something like what exactly I need to change if I have implementedfcm-node
and want to replace it withfirebase-admin
.Any help would be appreciated. Thanks.