Just like for an advice
We want to create a booking app, like a uber or a grabfood type of app, where a customer will send order and the merchant will accept the booking accept it in realtime.
What is the best practice for the merchant app.
I am thinking of a service that regularly loops every second, check if there ia a booking saved in the database, and trigger a notification to the merchant app.
however, I am thinking that the service will drain so much battery and internet data.
What's your take on this,
Ty
We want to create a booking app, like a uber or a grabfood type of app, where a customer will send order and the merchant will accept the booking accept it in realtime.
What is the best practice for the merchant app.
I am thinking of a service that regularly loops every second, check if there ia a booking saved in the database, and trigger a notification to the merchant app.
however, I am thinking that the service will drain so much battery and internet data.
What's your take on this,
Ty