the-jamb / gps-protect

React Native client for simple GPS-location project
https://www.gpsprotect.eu
MIT License
0 stars 0 forks source link

The heartbeat feature #21

Open mrfatguy opened 6 months ago

mrfatguy commented 6 months ago

Please, implement a heartbeat which will inform the server (in a separate 4th JSON, irrespectively of #16 or #11?) that the device:

This feature is to implement "last seen at" feature on server / API side.

The heartbeat JSON / data should be sent to server every second, irrespective of other settings (#11 and #16).

It can contain no / empty payload or it can contain just a single boolean value -- whatever is needed on client side. Server side / API will ignore payload at all and will set "last seen date" in the database based on JSON's receive data.