From 7237d0618bf829121ff3dced8765e3684f2767b9 Mon Sep 17 00:00:00 2001 From: Leon Dudlik Date: Tue, 16 Nov 2021 15:17:51 +0100 Subject: [PATCH] Add version 2.2.0 --- .gitignore | 3 +++ CHANGELOG.md | 17 +++++++++++++++++ README.md | 18 ++++++++++++++---- android/build.gradle | 2 +- example/android/build.gradle | 8 +++++++- example/ios/Podfile.lock | 17 ++++++++--------- ios/video_editor_sdk.podspec | 1 - pubspec.yaml | 4 ++-- 8 files changed, 52 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index b5e3299..e08a2f9 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,9 @@ DerivedData *.ipa *.xcuserstate project.xcworkspace +flutter_export_environment.sh +**/Flutter/Generated.xcconfig +**/Flutter/Flutter.podspec # Dart .dart_tool/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 827ebf5..6a211b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +## [2.2.0] + +### Changed + +* The img.ly maven repository is no longer automatically added to your Android project by the plugin. Please refer to the new step 3 in the [getting started](https://github.com/imgly/vesdk-flutter#android) section of the README for instructions on how to add it. +* Added support for PhotoEditor SDK and VideoEditor SDK for Android version 9. + +### Added + +* [video_editor_sdk] Added integration and documentation for force trim. +* [imgly_sdk] Added `TrimOptions.forceMode`, `TrimOptions.minimumDuration` and `TrimOptions.maximumDuration` to configure the force-trimming behavior. + +### Fixed + +* [imgly_sdk] Fixed `TrimOptions` not being exposed for `Configuration.trim`. +* [imgly_sdk] Fixed `CompositionOptions.clipTrimOptions` using `TrimOptions` instead of `ClipTrimOptions`. + ## [2.1.0] ### Added diff --git a/README.md b/README.md index 88a857d..4a5d842 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Add the plugin package to the `pubspec.yaml` file in your project: ```yaml dependencies: - video_editor_sdk: ^2.0.0 + video_editor_sdk: ^2.2.0 ``` Install the new dependency: @@ -57,13 +57,23 @@ flutter pub get } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.10" - classpath 'ly.img.android.sdk:plugin:8.3.4' + classpath 'ly.img.android.sdk:plugin:9.1.0' } } ``` - In order to update VideoEditor SDK for Android replace the version string `8.3.4` with a [newer release](https://github.com/imgly/pesdk-android-demo/releases). + In order to update VideoEditor SDK for Android replace the version string `9.1.0` with a [newer release](https://github.com/imgly/pesdk-android-demo/releases). -3. Configure VideoEditor SDK for Android by opening the `android/app/build.gradle` file (**not** `android/build.gradle`) and adding the following lines under `apply plugin: "com.android.application"`: +3. Still in the `android/build.gradle` file (**not** `android/app/build.gradle`), add these lines at the bottom: + + ```groovy + allprojects { + repositories { + maven { url 'https://artifactory.img.ly/artifactory/imgly' } + } + } + ``` + +4. Configure VideoEditor SDK for Android by opening the `android/app/build.gradle` file (**not** `android/build.gradle`) and adding the following lines under `apply plugin: "com.android.application"`: ```groovy apply plugin: 'ly.img.android.sdk' apply plugin: 'kotlin-android' diff --git a/android/build.gradle b/android/build.gradle index cd4732f..29639b5 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -39,7 +39,7 @@ imglyConfig { } } -def MIN_LY_IMG_ANDROID_SDK_PLUGIN_VERSION = "8.3.1" +def MIN_LY_IMG_ANDROID_SDK_PLUGIN_VERSION = "9.1.0" task checkVersion { if (imglyConfig.convertToVersionNumber(imglyConfig.getVersion()) < imglyConfig.convertToVersionNumber(MIN_LY_IMG_ANDROID_SDK_PLUGIN_VERSION)) { diff --git a/example/android/build.gradle b/example/android/build.gradle index a8d0957..83d5902 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -1,6 +1,6 @@ buildscript { ext.kotlin_version = '1.4.10' - ext.vesdk_version = '8.3.4' + ext.vesdk_version = '9.1.0' repositories { google() @@ -33,3 +33,9 @@ subprojects { task clean(type: Delete) { delete rootProject.buildDir } + +allprojects { + repositories { + maven { url 'https://artifactory.img.ly/artifactory/imgly' } + } +} diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index a9e517f..7b2d399 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,13 +1,12 @@ PODS: - Flutter (1.0.0) - - imgly_sdk (2.1.0): + - imgly_sdk (2.2.0): - Flutter - - imglyKit (~> 10.27) - - imglyKit (10.27.0) - - video_editor_sdk (2.1.0): + - imglyKit (~> 10.28) + - imglyKit (10.28.0) + - video_editor_sdk (2.2.0): - Flutter - imgly_sdk - - imglyKit (~> 10.27) DEPENDENCIES: - Flutter (from `Flutter`) @@ -28,10 +27,10 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a - imgly_sdk: 870f125d20dcc4e39f9b40c31d9bc348bbf17539 - imglyKit: 0fb6b12eb581649fab112e9718cef18eab3a8504 - video_editor_sdk: 1f4ae03b19668e2a19bfa54f7490d89893f4bf0c + imgly_sdk: 6cfbf5f5f6cb930894cba52eddccb4f5053f1fc1 + imglyKit: bfeea206adebae46df97ba75880e743df8c40653 + video_editor_sdk: 1d15b32379538515cd124e00f6da034e5a249280 PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c -COCOAPODS: 1.11.2 +COCOAPODS: 1.10.2 diff --git a/ios/video_editor_sdk.podspec b/ios/video_editor_sdk.podspec index c145dfc..6b48579 100644 --- a/ios/video_editor_sdk.podspec +++ b/ios/video_editor_sdk.podspec @@ -21,7 +21,6 @@ The official Flutter plugin for VideoEditor SDK. Integrate the video editor into s.source_files = 'Classes/**/*' s.dependency 'Flutter' s.platform = :ios, '9.0' - s.dependency 'imglyKit', '~> 10.27' s.dependency 'imgly_sdk' # Flutter.framework does not contain a i386 slice. diff --git a/pubspec.yaml b/pubspec.yaml index 42e65ae..1216806 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: video_editor_sdk description: The official Flutter plugin for VideoEditor SDK. Integrate the video editor into your own iOS or Android app - in minutes! -version: 2.1.0 +version: 2.2.0 homepage: https://www.videoeditorsdk.com repository: https://github.com/imgly/vesdk-flutter @@ -11,7 +11,7 @@ environment: dependencies: flutter: sdk: flutter - imgly_sdk: 2.1.0 + imgly_sdk: 2.2.0 dev_dependencies: flutter_test: