kapusta/pzgps

store gps data on the pizero using Realm(?)

kapusta opened this issue · 3 comments

On TPV events, if distance from previous location is greater than n meters, record the new location in a Realm. Provide access to that data from the FE.

  • Create /lib/realmApi.js and add getter and setter
  • Create /lib/realmSchema.js and define a location object
  • Add UI to initiate a save of a location, with a user defined note

The form to submit the user supplied data needs to be it's own component.

Today's realm fixes don't fix a realm install on armv6 and node4, but a lot of useful stuff is on this branch, so...

  • refactor out the realm specific code (not a lot there)
  • merge down to develop
  • add new issue for an experiment using couchdb and pouchdb.

Removed realm stuffs, merged the rest into v1.14.0, will experiment with couchdb/pouchdb in #14