You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+10
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,13 @@
1
+
## [2.7.0]
2
+
3
+
### Added
4
+
5
+
*[imgly_sdk] Added `StickerAction.duration` as well as `TextAction.duration` which allow selecting a unique duration for texts and stickers in the video editor.
6
+
7
+
### Fixed
8
+
9
+
*[video_editor_sdk] Fixed `Theme` would not be applied if the editor has been initialized with a single video on Android.
Copy file name to clipboardexpand all lines: README.md
+47-40
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ Add the plugin package to the `pubspec.yaml` file in your project:
30
30
31
31
```yaml
32
32
dependencies:
33
-
video_editor_sdk: ^2.6.0
33
+
video_editor_sdk: ^2.7.0
34
34
```
35
35
36
36
Install the new dependency:
@@ -44,6 +44,7 @@ flutter pub get
44
44
With version `2.4.0`, we recommend using `compileSdkVersion` not lower than `31` for Android. However, this might interfere with your application's Android Gradle Plugin version if this is set to `4.x`.
45
45
46
46
If you don't use a newer Android Gradle Plugin version you'll most likely encounter a build error similar to:
47
+
47
48
```
48
49
FAILURE: Build failed with an exception.
49
50
@@ -60,31 +61,35 @@ Run with --stacktrace option to get the stack trace. Run with --info or --debug
60
61
61
62
* Get more help at https://help.gradle.org
62
63
```
64
+
63
65
**As a workaround you can either:**
64
66
65
67
1. Upgrade your Android Gradle Plugin version:
66
68
67
-
Inside `android/build.gradle` update the version to at least `7.0.0`:
- Inside `/Users/YOUR-USERNAME/Library/Android/sdk/build-tools/31.0.0/`: Create a `dx` symlink for the `d8` file with `ln -s d8 dx`.
87
-
- From there, go to `./lib/` and create a `dx.jar` symlink for the `d8.jar` file with `ln -s d8.jar dx.jar`.
90
+
91
+
- Inside `/Users/YOUR-USERNAME/Library/Android/sdk/build-tools/31.0.0/`: Create a `dx` symlink for the `d8` file with `ln -s d8 dx`.
92
+
- From there, go to `./lib/` and create a `dx.jar` symlink for the `d8.jar` file with `ln -s d8.jar dx.jar`.
88
93
89
94
### Android
90
95
@@ -102,12 +107,13 @@ Run with --stacktrace option to get the stack trace. Run with --info or --debug
102
107
}
103
108
dependencies {
104
109
...
105
-
+ classpath 'ly.img.android.sdk:plugin:10.1.1'
110
+
+ classpath 'ly.img.android.sdk:plugin:10.3.1'
106
111
...
107
112
}
108
113
}
109
114
```
110
-
In order to update VideoEditor SDK for Android replace the version string `10.1.1` with a [newer release](https://github.com/imgly/pesdk-android-demo/releases).
115
+
116
+
In order to update VideoEditor SDK for Android replace the version string `10.3.1` with a [newer release](https://github.com/imgly/pesdk-android-demo/releases).
111
117
112
118
2. Still in the `android/build.gradle` file (**not**`android/app/build.gradle`), add these lines at the bottom:
113
119
@@ -119,7 +125,7 @@ Run with --stacktrace option to get the stack trace. Run with --info or --debug
119
125
}
120
126
```
121
127
122
-
3. In the `android/app/build.gradle` file (**not**`android/build.gradle`) you will need to modify the `minSdkVersion` to at least `21`. We also recommend to update the `buildToolsVersion` to `31.0.0` or higher as well as the `compileSdkVersion` to `31` or higher:
128
+
3. In the `android/app/build.gradle` file (**not**`android/build.gradle`) you will need to modify the `minSdkVersion` to at least `21`. We also recommend to update the `buildToolsVersion` to `31.0.0` or higher as well as the `compileSdkVersion` to `31` or higher:
123
129
124
130
```diff
125
131
android {
@@ -137,23 +143,23 @@ Run with --stacktrace option to get the stack trace. Run with --info or --debug
137
143
}
138
144
```
139
145
140
-
Depending on your **stable** Flutter SDK version (<= `2.5.0`), your `android/app/build.gradle` file might look a bit different. In this case, please modify it in the following way:
141
-
142
-
```diff
143
-
android {
144
-
- compileSdkVersion 30
145
-
+ compileSdkVersion 31
146
-
+ buildToolsVersion "31.0.0"
147
-
...
148
-
defaultConfig {
149
-
...
150
-
- minSdkVersion 16
151
-
+ minSdkVersion 21
152
-
...
153
-
}
154
-
...
155
-
}
156
-
```
146
+
Depending on your **stable** Flutter SDK version (<= `2.5.0`), your `android/app/build.gradle` file might look a bit different. In this case, please modify it in the following way:
147
+
148
+
```diff
149
+
android {
150
+
- compileSdkVersion 30
151
+
+ compileSdkVersion 31
152
+
+ buildToolsVersion "31.0.0"
153
+
...
154
+
defaultConfig {
155
+
...
156
+
- minSdkVersion 16
157
+
+ minSdkVersion 21
158
+
...
159
+
}
160
+
...
161
+
}
162
+
```
157
163
158
164
4. In the same file, configure VideoEditor SDK for Android by adding the following lines under `apply plugin: "com.android.application"`:
Each platform requires a separate license file. [Unlock VideoEditor SDK](./lib/video_editor_sdk.dart#L13-L22) with a single line of code for both platforms via platform-specific file extensions.
0 commit comments