Skip to content

Commit

Permalink
Add version 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leontobias committed Nov 16, 2021
1 parent ffae8b4 commit 7237d06
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 18 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ DerivedData
*.ipa
*.xcuserstate
project.xcworkspace
flutter_export_environment.sh
**/Flutter/Generated.xcconfig
**/Flutter/Flutter.podspec

# Dart
.dart_tool/
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
8 changes: 7 additions & 1 deletion example/android/build.gradle
Original file line number Diff line number Diff line change
@@ -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()
Expand Down Expand Up @@ -33,3 +33,9 @@ subprojects {
task clean(type: Delete) {
delete rootProject.buildDir
}

allprojects {
repositories {
maven { url 'https://artifactory.img.ly/artifactory/imgly' }
}
}
17 changes: 8 additions & 9 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -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`)
Expand All @@ -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
1 change: 0 additions & 1 deletion ios/video_editor_sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -11,7 +11,7 @@ environment:
dependencies:
flutter:
sdk: flutter
imgly_sdk: 2.1.0
imgly_sdk: 2.2.0

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit 7237d06

Please sign in to comment.