Arquisoft / radarin_en3a

2 stars 1 forks source link

Adding location to POD on login #118

Closed raulng9 closed 3 years ago

raulng9 commented 3 years ago

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.

raulng9 commented 3 years ago

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.