How to add observers for API calls

I know you said you can’t do firebase SDK, that is fine. How would I handle observers in Kodkia? Meaning, when our driver is heading to the customer andf I need their location to update on the map, and the polylines…etc, how can I get the drivers location from firebase every 5 seconds lets say? Just do an api call every 5 seconds with a timer?

Hi,
yes you can add a Timer and make it fire every 5 secs to update the location of the driver on the map.

Regards,
Kostas