Skip to content

Commit 7237d06

Browse files
committed
Add version 2.2.0
1 parent ffae8b4 commit 7237d06

File tree

8 files changed

+52
-18
lines changed

8 files changed

+52
-18
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ DerivedData
2121
*.ipa
2222
*.xcuserstate
2323
project.xcworkspace
24+
flutter_export_environment.sh
25+
**/Flutter/Generated.xcconfig
26+
**/Flutter/Flutter.podspec
2427

2528
# Dart
2629
.dart_tool/

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
## [2.2.0]
2+
3+
### Changed
4+
5+
* 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.
6+
* Added support for PhotoEditor SDK and VideoEditor SDK for Android version 9.
7+
8+
### Added
9+
10+
* [video_editor_sdk] Added integration and documentation for force trim.
11+
* [imgly_sdk] Added `TrimOptions.forceMode`, `TrimOptions.minimumDuration` and `TrimOptions.maximumDuration` to configure the force-trimming behavior.
12+
13+
### Fixed
14+
15+
* [imgly_sdk] Fixed `TrimOptions` not being exposed for `Configuration.trim`.
16+
* [imgly_sdk] Fixed `CompositionOptions.clipTrimOptions` using `TrimOptions` instead of `ClipTrimOptions`.
17+
118
## [2.1.0]
219

320
### Added

README.md

+14-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Add the plugin package to the `pubspec.yaml` file in your project:
2323

2424
```yaml
2525
dependencies:
26-
video_editor_sdk: ^2.0.0
26+
video_editor_sdk: ^2.2.0
2727
```
2828
2929
Install the new dependency:
@@ -57,13 +57,23 @@ flutter pub get
5757
}
5858
dependencies {
5959
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.10"
60-
classpath 'ly.img.android.sdk:plugin:8.3.4'
60+
classpath 'ly.img.android.sdk:plugin:9.1.0'
6161
}
6262
}
6363
```
64-
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).
64+
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).
6565

66-
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"`:
66+
3. Still in the `android/build.gradle` file (**not** `android/app/build.gradle`), add these lines at the bottom:
67+
68+
```groovy
69+
allprojects {
70+
repositories {
71+
maven { url 'https://artifactory.img.ly/artifactory/imgly' }
72+
}
73+
}
74+
```
75+
76+
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"`:
6777
```groovy
6878
apply plugin: 'ly.img.android.sdk'
6979
apply plugin: 'kotlin-android'

android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ imglyConfig {
3939
}
4040
}
4141

42-
def MIN_LY_IMG_ANDROID_SDK_PLUGIN_VERSION = "8.3.1"
42+
def MIN_LY_IMG_ANDROID_SDK_PLUGIN_VERSION = "9.1.0"
4343

4444
task checkVersion {
4545
if (imglyConfig.convertToVersionNumber(imglyConfig.getVersion()) < imglyConfig.convertToVersionNumber(MIN_LY_IMG_ANDROID_SDK_PLUGIN_VERSION)) {

example/android/build.gradle

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
buildscript {
22
ext.kotlin_version = '1.4.10'
3-
ext.vesdk_version = '8.3.4'
3+
ext.vesdk_version = '9.1.0'
44

55
repositories {
66
google()
@@ -33,3 +33,9 @@ subprojects {
3333
task clean(type: Delete) {
3434
delete rootProject.buildDir
3535
}
36+
37+
allprojects {
38+
repositories {
39+
maven { url 'https://artifactory.img.ly/artifactory/imgly' }
40+
}
41+
}

example/ios/Podfile.lock

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
PODS:
22
- Flutter (1.0.0)
3-
- imgly_sdk (2.1.0):
3+
- imgly_sdk (2.2.0):
44
- Flutter
5-
- imglyKit (~> 10.27)
6-
- imglyKit (10.27.0)
7-
- video_editor_sdk (2.1.0):
5+
- imglyKit (~> 10.28)
6+
- imglyKit (10.28.0)
7+
- video_editor_sdk (2.2.0):
88
- Flutter
99
- imgly_sdk
10-
- imglyKit (~> 10.27)
1110

1211
DEPENDENCIES:
1312
- Flutter (from `Flutter`)
@@ -28,10 +27,10 @@ EXTERNAL SOURCES:
2827

2928
SPEC CHECKSUMS:
3029
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
31-
imgly_sdk: 870f125d20dcc4e39f9b40c31d9bc348bbf17539
32-
imglyKit: 0fb6b12eb581649fab112e9718cef18eab3a8504
33-
video_editor_sdk: 1f4ae03b19668e2a19bfa54f7490d89893f4bf0c
30+
imgly_sdk: 6cfbf5f5f6cb930894cba52eddccb4f5053f1fc1
31+
imglyKit: bfeea206adebae46df97ba75880e743df8c40653
32+
video_editor_sdk: 1d15b32379538515cd124e00f6da034e5a249280
3433

3534
PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
3635

37-
COCOAPODS: 1.11.2
36+
COCOAPODS: 1.10.2

ios/video_editor_sdk.podspec

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ The official Flutter plugin for VideoEditor SDK. Integrate the video editor into
2121
s.source_files = 'Classes/**/*'
2222
s.dependency 'Flutter'
2323
s.platform = :ios, '9.0'
24-
s.dependency 'imglyKit', '~> 10.27'
2524
s.dependency 'imgly_sdk'
2625

2726
# Flutter.framework does not contain a i386 slice.

pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: video_editor_sdk
22
description: The official Flutter plugin for VideoEditor SDK. Integrate the video editor into your own iOS or Android app - in minutes!
3-
version: 2.1.0
3+
version: 2.2.0
44
homepage: https://www.videoeditorsdk.com
55
repository: https://github.com/imgly/vesdk-flutter
66

@@ -11,7 +11,7 @@ environment:
1111
dependencies:
1212
flutter:
1313
sdk: flutter
14-
imgly_sdk: 2.1.0
14+
imgly_sdk: 2.2.0
1515

1616
dev_dependencies:
1717
flutter_test:

0 commit comments

Comments
 (0)