benkleintechnologies / Guardia

0 stars 0 forks source link

Create Constant Location Updates from App #1

Closed benkleintechnologies closed 4 months ago

benkleintechnologies commented 5 months ago

Set up the mobile app to automatically send the location of the device constantly (or at some interval, like once a minute) both while the app is open and most importantly, also in the background.

Start with sending the location while the app is open, and then add background updates, because that will also be more complicated.

A new router will need to be created in the backend to receive the location data and send it to the database (and there should be a new table to store these locations and device or user ID that must be sent every time the device sends its location). Alternatively, we should probably be using WebSockets for this, and all communication back and forth with the server.

New issues should be made to address complications that make this too difficult to handle at once.

benkleintechnologies commented 5 months ago

Logic was written but still have some issues. See #9