Skip to content

fix(android): use rational format for GPS double tags on write#28

Merged
lodev09 merged 1 commit intomainfrom
fix/android-gps-rational-format
Feb 17, 2026
Merged

fix(android): use rational format for GPS double tags on write#28
lodev09 merged 1 commit intomainfrom
fix/android-gps-rational-format

Conversation

@lodev09
Copy link
Owner

@lodev09 lodev09 commented Feb 17, 2026

Summary

GPS double tags (GPSDOP, GPSImgDirection, GPSSpeed, GPSTrack, GPSDestBearing, etc.) were not persisted on Android. ExifInterface expects GPS rational values in numerator/denominator format, but we were writing plain decimal strings which were silently dropped on saveAttributes().

Fixes #29

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Test Plan

  • Write GPSDOP and other GPS double tags via Exify.write(), then Exify.read() — values now persist

Checklist

  • I tested on iOS
  • I tested on Android
  • I updated the documentation (if needed)

ExifInterface expects GPS rational values in numerator/denominator format.
Writing plain decimal strings caused GPS doubles like GPSDOP, GPSImgDirection,
GPSSpeed, etc. to silently fail to persist.
@lodev09 lodev09 merged commit aee14bc into main Feb 17, 2026
3 checks passed
@lodev09 lodev09 deleted the fix/android-gps-rational-format branch February 17, 2026 01:04
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.

GPSDOP not persisting

1 participant

Comments