I am developing a food delivery application with React Native and I am using Strapi as the Backend/Admin Panel for this app. The problem, however, came up with orders as I don’t see a way to notify the client (app in this case), that the order state has changed - display different data. Currently, the updates in Strapi and DB are happening on Stripe changes, passed along by Webhooks and admin manual changes. Is there a way, that by using Socket io I can send the notification to the client as well? For instance, your order was processed by kitchen staff and is now cooking, your order is being delivered, wait patiently.
I am developing a food delivery application with React Native and I am using Strapi as the Backend/Admin Panel for this app. The problem, however, came up with orders as I don’t see a way to notify the client (app in this case), that the order state has changed - display different data. Currently, the updates in Strapi and DB are happening on Stripe changes, passed along by Webhooks and admin manual changes. Is there a way, that by using Socket io I can send the notification to the client as well? For instance, your order was processed by kitchen staff and is now cooking, your order is being delivered, wait patiently.
I read through this, but essentially it’s waiting for input from the client before sending a notification, in my case client will not send anything, only receive notifications.
Closest answer to my issue was this, however it seems to be outdates as the link does not work
System Information
- Strapi Version: 3.4.4:
- Operating System: Mac OS Catalina 10.15.7:
- Database: Mongo Atlas:
- Node Version: 14.15.5:
- NPM Version:
- Yarn Version:
System Information
- Strapi Version: 3.4.4:
- Operating System: Mac OS Catalina 10.15.7:
- Database: Mongo Atlas:
- Node Version: 14.15.5:
- NPM Version:
- Yarn Version: