Hi i have been wondering if there is a way to make fully functional realtime notification and chat system like firebase in nodejs socketio?
I know it is possible to make chat system but i don't know and never tried notfication system.
Hi i have been wondering if there is a way to make fully functional realtime notification and chat system like firebase in nodejs socketio?
I know it is possible to make chat system but i don't know and never tried notfication system.
For further actions, you may consider blocking this person and/or reporting abuse
Ramin Omrani -
James -
Bruno Sartori -
Jagroop Singh -
Top comments (4)
You can use FCM and subscribe user to a topic or use tokens .
Fcm also works in background
Sorry can u elaborate?
Firebase Cloud Messaging is good for this. You need to generate a token for every user and use that token to subscribe users to a particular topic (You can read about this in FCM Docs), and then u just need to make a call to fcm server and send a request body with your payload and fcm service handles it . It is quite effeicient.
Okay but the problem is i don't want to use firebase