We want to add the user's location automatically to the POD on login in order to have it on the map and on the location table without the using having to manually include it. For now, we are only doing it on each session login since if we mark an interval the locations in the POD are going to be too many, making it harder for the user to manage and see them in the map. The locations are still going to be updated periodically, but only saved to the API in order to let friends know when you are close.
Now the webapp includes the location of the user on login to the POD, and shows it in the map. Solved using sessionStorage since the state is not maintained on page refresh.
We want to add the user's location automatically to the POD on login in order to have it on the map and on the location table without the using having to manually include it. For now, we are only doing it on each session login since if we mark an interval the locations in the POD are going to be too many, making it harder for the user to manage and see them in the map. The locations are still going to be updated periodically, but only saved to the API in order to let friends know when you are close.