thorvg_plus 1.1.1
thorvg_plus: ^1.1.1 copied to clipboard
Source-built fork of thorvg for Flutter with full iOS simulator support. Drop-in replacement while upstream thorvg.flutter#22 is unresolved.
1.1.1 #
- Fixed: Android 15+ 16 KB page size compatibility.
libthorvg.sois now linked with-Wl,-z,max-page-size=16384and-Wl,-z,common-page-size=16384, so allLOADsegments are aligned to 16384 bytes. Devices using 16 KB memory pages (Android 15+) load the library directly instead of falling back to page-size-compat mode. Required for Play Console submissions targetingtargetSdk >= 35after Nov 2025 (developer.android.com/16kb-page-size).
1.1.0 #
- Breaking: minimum Flutter is now
>=3.24.0(was>=3.3.0). - Migrated the Android
Texture-based renderer fromTextureRegistry.createSurfaceTexture()toTextureRegistry.createSurfaceProducer(). On API 28+ the engine selects anImageReader/HardwareBuffer-backed implementation, sidestepping theBufferQueuefence-FD leak that crashed long-scroll sessions insideSurfaceTexture.updateTexImage(see flutter/flutter#94916, flutter-webrtc/flutter-webrtc#1948). On API < 28 the engine transparently falls back toSurfaceTexture(no regression). ThorvgTexturenow wiresSurfaceProducer.Callbackto handle engine- driven surface destroy/recreate cycles (e.g. backgrounding); the cachedANativeWindow*is detached ononSurfaceDestroyedand re-attached ononSurfaceCreated, with the last frame re-rendered to avoid a black re-show flash. No public API changes on the Dart side.
1.0.0 — forked from thorvg 1.0.0 #
Initial release of thorvg_plus, a source-built fork of
thorvg 1.0.0 published
independently to address thorvg.flutter#22
(iOS simulator linker failure caused by the device-only libthorvg.dylib
shipped by upstream).
Differences from upstream thorvg 1.0.0:
- iOS builds ThorVG from source via the CocoaPods podspec instead of
consuming a prebuilt dylib. The resulting framework has both device
and simulator slices, so
flutter run -d <simulator>links correctly. - Android builds via CMake NDK per-ABI (same as upstream source path).
- Pruned ThorVG tree: removed SVG/TTF/WebP loaders, GL/WebGPU renderers,
savers, and tests. See
tool/prune_thorvg.sh. - No other API changes. The Dart
Lottiewidget and its constructors match upstream byte-for-byte.
Once upstream fixes #22 and releases a patched thorvg, this fork will be deprecated in favour of the official package.
Upstream history (thorvg 1.0.0) #
- Update ThorVG to v1.0.0
1.0.0-pre.11 #
- Update ThorVG to v1.0.0-pre11
1.0.0-pre.10 #
- Update ThorVG to v1.0.0-pre10
1.0.0-pre.8 #
- Update ThorVG to v1.0.0-pre8
- Update binding to align canvas API with latest version
1.0.0-pre.7 #
- Update ThorVG to v1.0.0-pre7
1.0.0-pre.6 #
- Update ThorVG to v1.0.0-pre6
1.0.0-pre.5 #
- Update ThorVG to v1.0.0-pre5
1.0.0-pre.4 #
- Update ThorVG to v1.0.0-pre4
1.0.0-pre.3 #
- Update ThorVG to v1.0.0-pre3
1.0.0-pre.2 #
- Update ThorVG to v1.0.0-pre2
1.0.0-pre.1 #
- Update ThorVG to v1.0.0-pre1
1.0.0-beta.1 #
- Update ThorVG to v0.15.0
1.0.0-beta.0 #
- Introduce ThorVG flutter runtime (beta)
- Starting from ThorVG v0.14.10