Track user’s live location to show on map & update the location in Dynamics 365
When the user opens the app for the first time then it will ask Dynamics 365 (CRM) credentials and once the user enters credentials, it logs in to CRM programmatically thereafter. First ask for user consent regarding location access. When the user moves on the field, it tracks the user's live location and programmatically updates the location in one of the tables in Dynamics 365. In this app, it will fetch the user's live location, show it on the map in mobile and update that location in Dynamics CRM. It requires background services as it needs to track the user’s live location even while the user is traveling to update the same in Dynamics 365.