Skip to content

v0.5.4

Choose a tag to compare

@GabryDX GabryDX released this 02 Oct 16:25
· 54 commits to main since this release
a1b721e

🛡️ MetaJammer v0.5.4 — Release Notes

Summary

MetaJammer v0.5.4 introduces a standalone pure Kotlin OGG Vorbis & Opus container reader, comment stripper, and metadata poisoner, fixes SVG MIME routing precedence with deep Dublin Core RDF/XML comment stripping, restores 100% string parity across all 24 supported languages, and expands automated test coverage to 133 passing unit tests.


🌟 Key Changes & Improvements

1. Pure Kotlin OGG Vorbis & Opus Engine

  • Zero-Dependency Bitstream Parser: Added OggMetadataReader to parse OGG containers and unpack Vorbis comments (\x03vorbis) and Opus tags (OpusTags) directly at the bitstream level without external native libraries.
  • Lossless Comment Stripping & Poisoning: Strips user comments, GPS coordinates, location tags, contact info, embedded picture blocks (METADATA_BLOCK_PICTURE), and XMP packets without re-compressing or decoding audio elementary streams.
  • Bitstream Integrity & Checksum Recalculation: Recalculates 32-bit OGG page CRC checksums (0x04C11DB7) and maintains strictly consecutive sequence numbering for 100% RFC 3533 compliance and media player compatibility.
  • Magic Byte Detection & Processing Routing: Added OggS magic byte detection in FileRepository and routed OGG containers directly through OggMetadataReader in MediaMetadataProcessor, bypassing Android MediaMuxer codec limitations.

2. SVG Routing & Dublin Core / RDF Sanitization

  • MIME Route Precedence: Prioritized image/svg+xml and application/pdf ahead of generic image/* checks in MetadataRepository, ensuring vector files are never hijacked by raster ExifInterface.
  • Dublin Core & Creative Commons Stripping: Enhanced SvgMetadataProcessor to extract and wipe Dublin Core RDF entries (dc:title, dc:creator, dc:date, dc:coverage, dc:rights, dc:publisher, dc:contributor, dc:subject, dc:identifier, dc:source) and Creative Commons licenses (cc:license).
  • Editor Artifacts & Comment Stripping: Neutralizes editor metadata attributes (inkscape:version, sodipodi:docname), editor view elements (sodipodi:namedview), and full XML comments (<!-- ... -->).
  • Robust Fallback Regex: Upgraded XML stripping patterns to match <metadata>, <title>, and <desc> tags containing arbitrary XML attributes or namespaces.

3. 100% String Parity & Localization Polish

  • Storage Permission Translations: Added the storage_permission_required string to all 23 localized strings.xml resource files, ensuring complete localized guidance for Android 9 users.
  • 100% Parity Across 24 Locales: Verified 100% key parity and placeholder integrity across all 24 supported languages (235 strings each).
  • Hardcoded String Extraction: Extracted hardcoded latitude and longitude hints in LocationPickerScreen to localized string resources (R.string.latitude_hint and R.string.longitude_hint).

4. Expanded Test Suite

  • Comprehensive Test Coverage: 133 automated unit tests passing across all core modules, including end-to-end repository tests, OGG Vorbis bitstream manipulation tests, and SVG Dublin Core extraction tests.

📦 Build Artifacts

  • Package: com.heronikostudios.metajammer
  • Version: 0.5.4 (Code 9)
  • Target SDK: 37 (Android 16) | Min SDK: 26 (Android 8.0)