Skip to content

Conversation

@difanta
Copy link

@difanta difanta commented Jan 17, 2026

Put the mobile app in line with the changes of #1588.

Basically a port of the changes of to the mobile application. The image.dateTaken of a SystemImage is now taken from (in order of priority) any exif field as given by ExifInterface, DATE_TAKEN from MediaStore, or DATE_MODIFIED from MediaStore.
The Exif fields are normalized and parsed with a formatter, then the oldest date is chosen. If no date is available from Exif, it falls back to dateTaken or mtime, logging the decision as it does.

Unlike #1588 there is no simple and efficient way, that I see at least, for GPS timezone inference as the places database is not available on mobile.

Just like #1601, before this I had a lot of local images defaulting to 1970 and being duplicated from local to remote, this solved all my problems, along with the web version from #1588.

Also add null checks while accessing MediaStore columns, this seems to solve problems for certain buckets not synchronizing.

Put the mobile app in line with the changes of pulsejet#1588.
Add null checks to solve problems for certain buckets not synchronizing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant