Skip to content

Commit

Permalink
Add version 2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leontobias committed Sep 13, 2022
1 parent 20234e5 commit 54b29c1
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 12 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## [2.7.0]

### Added

* [imgly_sdk] Added `StickerAction.duration` as well as `TextAction.duration` which allow selecting a unique duration for texts and stickers in the video editor.

### Fixed

* [video_editor_sdk] Fixed `Theme` would not be applied if the editor has been initialized with a single video on Android.

## [2.6.0]

### Changed
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 = "10.1.1"
def MIN_LY_IMG_ANDROID_SDK_PLUGIN_VERSION = "10.3.1"

task checkVersion {
if (imglyConfig.convertToVersionNumber(imglyConfig.getVersion()) < imglyConfig.convertToVersionNumber(MIN_LY_IMG_ANDROID_SDK_PLUGIN_VERSION)) {
Expand Down
2 changes: 1 addition & 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.5.32'
ext.pesdk_version = '10.1.1'
ext.pesdk_version = '10.3.1'

repositories {
google()
Expand Down
10 changes: 5 additions & 5 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PODS:
- Flutter (1.0.0)
- imgly_sdk (2.6.0):
- imgly_sdk (2.7.0):
- Flutter
- imglyKit (~> 11.1)
- imglyKit (11.2.0)
- imglyKit (~> 11.3)
- imglyKit (11.3.1)

DEPENDENCIES:
- Flutter (from `Flutter`)
Expand All @@ -21,8 +21,8 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
imgly_sdk: bb252939cfbf53a0199a40d565ab675db859a041
imglyKit: 505785f0467867523cdee38ebb7d60c5189faedf
imgly_sdk: d5bd730c962ab5d08c065211e3d0d499dbf402c1
imglyKit: 34eb8e0e1a399b815b2a5baf2f5afa3a4fc47105

PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c

Expand Down
2 changes: 1 addition & 1 deletion ios/imgly_sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The official base plugin for the photo_editor_sdk and video_editor_sdk Flutter p
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.platform = :ios, '13.0'
s.dependency 'imglyKit', '~> 11.1'
s.dependency 'imglyKit', '~> 11.3'

# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
Expand Down
16 changes: 13 additions & 3 deletions lib/imgly_sdk.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2371,6 +2371,10 @@ enum StickerAction {
/// stickers. This option is only shown when a person could be detected and is
/// only supported on devices running iOS 15+.
removeBackground,
/// Change the duration of the sticker within the video.
/// This action is only shown when editing videos.
duration
}
/// The corresponding values to the [StickerAction].
Expand All @@ -2382,7 +2386,8 @@ final _stickerActionValues = _EnumValues({
"removebackground": StickerAction.removeBackground,
"replace": StickerAction.replace,
"saturation": StickerAction.saturation,
"straighten": StickerAction.straighten
"straighten": StickerAction.straighten,
"duration": StickerAction.duration
});
/// A sticker canvas action.
Expand Down Expand Up @@ -2612,15 +2617,20 @@ enum TextAction {
color,
/// Change the font.
font
font,
/// Change the duration of the text within the video.
/// This action is only shown when editing videos.
duration
}
/// The corresponding values for the [TextAction].
final _textActionValues = _EnumValues({
"alignment": TextAction.alignment,
"backgroundcolor": TextAction.backgroundColor,
"color": TextAction.color,
"font": TextAction.font
"font": TextAction.font,
"duration": TextAction.duration
});
/// A font.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: imgly_sdk
description: The official base plugin for the photo_editor_sdk and video_editor_sdk Flutter plugins.
version: 2.6.0
version: 2.7.0
homepage: https://img.ly
repository: https://github.com/imgly/imgly-flutter

Expand Down

0 comments on commit 54b29c1

Please sign in to comment.