Skip to content

fix(android): use double type for GPSHPositioningError tag#30

Merged
lodev09 merged 1 commit intomainfrom
fix/android-gps-h-positioning-error
Feb 17, 2026
Merged

fix(android): use double type for GPSHPositioningError tag#30
lodev09 merged 1 commit intomainfrom
fix/android-gps-h-positioning-error

Conversation

@lodev09
Copy link
Owner

@lodev09 lodev09 commented Feb 17, 2026

Summary

Android's ExifInterface expects IFD_FORMAT_URATIONAL for GPSHPositioningError. The tag was typed as "string" in ExifyTags.kt, causing setAttribute to silently fail on write. Changed to "double" so the value goes through decimalToRational() — matching the expected rational format.

Type of Change

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

Test Plan

Verified on both iOS and Android that GPSHPositioningError persists after write and reads back correctly.

Checklist

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

Android ExifInterface expects IFD_FORMAT_URATIONAL for this tag.
Using string type caused setAttribute to silently fail on write.
@lodev09 lodev09 merged commit ab71c2f into main Feb 17, 2026
3 checks passed
@lodev09 lodev09 deleted the fix/android-gps-h-positioning-error branch February 17, 2026 16:12
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

Comments