photos icon indicating copy to clipboard operation
photos copied to clipboard

Add long-term photo exists lookup

Open andrewxhill opened this issue 6 years ago • 3 comments

  • [ ] Store original file hash in wallet (this ticket should probably go to Go later)
  • [ ] Allow app to re-add file whenever without having to re-update everything.

related: https://github.com/textileio/textile-mobile/issues/650

andrewxhill avatar Oct 22 '18 18:10 andrewxhill

related: https://github.com/textileio/textile-go/issues/324

sanderpick avatar Oct 22 '18 20:10 sanderpick

@sanderpick what is our status here? Following the links of related issues, it looks like maybe we solved this with the Files API?

asutula avatar Jan 06 '19 00:01 asutula

I think this is solved now on the Go side well enough. The next part of work that should happen here is in the native new photo monitoring script. Currently, that script is over-filtering to ensure it's not duplicating adds. Because of that, it's missing some cases that we can capture now. I'll have to read back through the code to make sense, but now we can shift the other way and capture all while getting a few duplicates which should be filtered by go.

one thing that the node could do to make this better is notify the client if a file already did exist or if it was newly minted on the add step.

andrewxhill avatar Jan 12 '19 02:01 andrewxhill