Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle photo storage from iOS (WIP) #509

Closed
jpmens opened this issue Nov 26, 2024 · 1 comment
Closed

Handle photo storage from iOS (WIP) #509

jpmens opened this issue Nov 26, 2024 · 1 comment

Comments

@jpmens
Copy link
Member

jpmens commented Nov 26, 2024

There's work in progress being done on iOS to for Photo taking/tagging/submitting from within OwnTracks app.

Recorder needs to support these new messages.

  • "_type" : "image"
  • contain a base64-encoded image with a photo which will will store in STORAGE/images/<user>/<device>/<user>-<device>-YYYY-MM-tst.jpg
  • all other elements in the payload (minus the very large image element) will be stored in an adjacent .json file.
-rw-r--r--  1 jpm  staff  3197520 Nov 26 19:27 JP/images/jane/phone/jane-phone-2024-11-1732645635.jpg
-rw-r--r--  1 jpm  staff      405 Nov 26 19:27 JP/images/jane/phone/jane-phone-2024-11-1732645635.json
@jpmens
Copy link
Member Author

jpmens commented Dec 15, 2024

The code described here will not be implemented in this way. Instead an image thumbnail will be transported within the payload of a _type: location position.

See screenshots here

@jpmens jpmens closed this as completed Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant