Page reload when changing database

I’m building a Taxi app. MySQL database is used and it is hosted in 000webhost. Exactly I want to do the following tasks.

  1. When a passenger select a driver from his app, it updates the database. (It works fine)
  2. Next, driver’s app needs to be updated at that same time without refreshing the page. In my case it is not done. Only works if the page is reloaded.

I used Ionic 3

Please help me.

Use a realtime db like firestore

This. I also have a website on 000webhost and use Firestore with good results.

Thanks for your reply. I’ll try this