Hi, I’m very new to Ionic and looking to add a tracking feature to an app. The users of the app should be able to visit a page within the app can see the current location of where the mascot is and where it is moving to. Is this possible? The page would obviously have maps integrated and you can see the icon pin of where the mascot is.
Any suggestions or pointers would be greatly appreciated.
From the mascots device:
Keep updating mascots position every minute.
Use cordova background geolocation plugin to fetch mascots position even when the app is in the background.
For the device thats tracking mascots movement:
Configure server sent events or keep polling the server to get continuos lat and long.
Keep updating the marker on the map with lat and long provided in the previous step from the server.