feat: Add Swift Package Manager support and migrate Android to Kotlin - #10
Open
thorito wants to merge 9 commits into
Open
feat: Add Swift Package Manager support and migrate Android to Kotlin#10thorito wants to merge 9 commits into
thorito wants to merge 9 commits into
Conversation
- Add Package.swift for SPM support - Update libwebp imports to support both CocoaPods and SPM - Enable privacy manifest bundle in podspec - Maintain full backward compatibility with CocoaPods
- Fix Android WEBP_LOSSLESS crash on API < 30 (add version check) - Remove unused variable in test file - Fix dangling library doc comment - Fix missing import for visibleForTesting annotation - Remove unused cupertino.dart import - Update pubspec.yaml: remove empty homepage, add issue_tracker and topics - Update podspec metadata: version, homepage, author - Remove deprecated package attribute from AndroidManifest.xml
- Migrate video_thumbnail_web.dart from deprecated dart:html to package:web - Update example app to use super.key instead of Key? key - Replace deprecated Radio.groupValue/onChanged with RadioGroup - Add const constructors where recommended
- Convert VideoThumbnailPlugin to Kotlin - Update build.gradle to use built-in Kotlin and Java 11 - Improve frame extraction with multiple fallback options - Add better error handling for large/unsupported videos
- Restructure iOS code for SPM compatibility - Move Classes/Resources to ios/get_thumbnail_video/ - Update Package.swift with FlutterFramework dependency - Update podspec paths for new structure
- Change thumbnailFile return type to XFile? - Add null check in example app - Update tests for nullable return type
- Remove Podfile and CocoaPods references from xcconfig - Add SPM integration to Xcode project - Add camera/photo library/mic usage descriptions - Update AppDelegate for implicit engine delegate
- Upgrade Gradle to 8.14 and AGP to 8.11.1 - Migrate example app to built-in Kotlin - Update dependency versions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
iOS
ios/get_thumbnail_video/for SPM compatibilityPackage.swiftwith FlutterFramework dependencyAndroid
VideoThumbnailPluginfrom Java to KotlinDart
thumbnailFilereturn type toXFile?to handle null casesBreaking Changes