Hi,
I've seen several tracking type apps whereby users can track their friends, and other apps that track the route that you run on Google Maps.
I want to add a small feature to one of my apps so that your friends can send you a tracker invite, and then you can see your friend on Google Maps until they cancel the tracking.
What would be the architecture behind building / designing this function. Should we just update the DB every 5 seconds with your friend's current location, and then keep refreshing your map so that you can see their new position every 5 seconds, or is there a better way to achieve this.
Thanks in advance for your help.
I've seen several tracking type apps whereby users can track their friends, and other apps that track the route that you run on Google Maps.
I want to add a small feature to one of my apps so that your friends can send you a tracker invite, and then you can see your friend on Google Maps until they cancel the tracking.
What would be the architecture behind building / designing this function. Should we just update the DB every 5 seconds with your friend's current location, and then keep refreshing your map so that you can see their new position every 5 seconds, or is there a better way to achieve this.
Thanks in advance for your help.