video_thumbnail_plus 0.0.2
video_thumbnail_plus: ^0.0.2 copied to clipboard
Video Thumbnail Plus
0.0.1 #
- fork form video_thumbnail
- rewrite native ios code with swift
- rewrite native android code with kotlin
- update dependencies and configurations to adapt to the latest version of flutter
0.0.2 - 2025-01-19 #
Fixed #
Critical
- [Android] Added
content://URI support - videos from gallery/file picker now work correctly - [Android/iOS] Thumbnail generation failures now return proper errors instead of
success(null)
Medium
- [Android] Fixed integer overflow when
timeMsexceeds ~35 minutes (2,147,483ms) - [Android/iOS] Added input validation:
timeMsclamped to ≥0,qualityclamped to 0-100 - [Android] Fixed potential crash when
scaleBitmapproduces zero-width/height dimensions - [Android]
compress()return value is now checked - failures are properly reported - [Android]
mkdirs()return value is now checked - directory creation failures are reported - [Android] Thread pool limited to 4 concurrent threads (was unbounded)
Low
- [Android]
Bitmap.recycle()now guaranteed to be called even when exceptions occur - [iOS] Fixed potential crash from force-unwrapping cache directory
- [iOS] Replaced deprecated
CC_MD5withCryptoKit.Insecure.MD5 - [iOS] WebP format fallback now correctly uses
.pngextension instead of.webp
Changed #
- [Android]
MediaMetadataRetrievernow usesclose()on Android 10+ instead of deprecatedrelease() - [Android] Replaced
newCachedThreadPool()with boundedThreadPoolExecutor(0, 4, ...)