Skip to content

v2.0.0

Choose a tag to compare

@tttocklll tttocklll released this 07 Sep 08:52
· 21 commits to main since this release

Release Notes (v2.0.0) — Android Joins The Party 🎉

  • Android support is in! Images, text, and full video watermarking on API 24+.
  • Same simple API across iOS and Android. No FFmpeg, no drama.

Highlights

  • Video pipeline: MediaCodec + OpenGL ES with a smooth hardware path.
  • Smart fallback: auto-switch to ByteBuffer YUV + GLES when hardware gets grumpy.
  • Progress + cancel: real-time updates and graceful aborts for long jobs.
  • Audio passthrough: best‑effort copy to keep your soundtrack rolling.
  • Anchors that “just work”: positions apply to the displayed orientation.

Fixes

  • No more 100% freeze: proper decoder → encoder EOS propagation.
  • Upright overlays: fixed vertical flip for text/image watermarks on Android.
  • Calmer logs: added WMLog gate; warnings/errors only by default.

Compatibility

  • iOS: unchanged, solid as ever.
  • Android: minSdk 24. HEVC/Dolby Vision support varies by device (we auto‑fallback).
  • Emulators may have limited codec support—physical devices recommended for final checks.

Notes

  • Default codec is H.264. Use HEVC when supported for extra sparkle.
  • The plugin itself requests no permissions; your app handles file/media access.

Upgrade

  • pubspec: watermark_kit: ^2.0.0
  • Example app updated; try the “Video” tab to see end‑to‑end watermarking.