Ad

Flutter Push Notifications Using Socket IO And NodeJS Backend, Is It Possible?

I'm planning to develop a native app for an already-built web app and nodeJS server that uses socket IO for real-time updates, my concern is if I can generate push notifications using socket io even when the user is away from the app?

Ad

Answer

If you want something simple, i will advice you to use firebase.

But if you still want to use socket.io, you can do it. The app listen for event emitting and when receive the event, trigger a local notification. Check this link to learn more about background process.

Ad
source: stackoverflow.com
Ad