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
+7
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,10 @@
1
+
## [2.16.0]
2
+
3
+
### Added
4
+
5
+
*[react-native-videoeditorsdk] Added duration action for text and stickers.
6
+
*[react-native-videoeditorsdk] Added `VideoEditorResult.segments`, `VideoEditorResult.videoSize`, and `VideoEditorResult.release()` which enable serialization of the individual video composition components if `configuration.export.video.segments` is enabled.
Copy file name to clipboardexpand all lines: README.md
+22-12
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ Check out our [video tutorial](https://img.ly/blog/a-photo-and-video-editor-for-
32
32
With version `2.13.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`.
33
33
34
34
If you don't use a newer Android Gradle Plugin version, e.g., by updating at least to RN 0.68.0, you'll most likely encounter a build error similar to:
35
+
35
36
```
36
37
FAILURE: Build failed with an exception.
37
38
@@ -44,9 +45,11 @@ Run with --stacktrace option to get the stack trace. Run with --info or --debug
44
45
45
46
* Get more help at https://help.gradle.org
46
47
```
48
+
47
49
As a workaround you can create the following symlinks:
48
-
1. 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`.
49
-
2. From there, go to `./lib/` and create a `dx.jar` symlink for the `d8.jar` file with `ln -s d8.jar dx.jar`.
50
+
51
+
1. 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`.
52
+
2. From there, go to `./lib/` and create a `dx.jar` symlink for the `d8.jar` file with `ln -s d8.jar dx.jar`.
50
53
51
54
### Expo CLI
52
55
@@ -63,7 +66,7 @@ In order to use this module with the Expo CLI you can make use of our integrated
63
66
```sh
64
67
expo install react-native-videoeditorsdk
65
68
```
66
-
69
+
67
70
This will automatically install [`react-native-imglysdk`](https://npmjs.org/package/react-native-imglysdk) which you can use to configure your application with our Expo config plugin.
68
71
69
72
2. Inside your app's `app.json` or `app.config.js` add our config plugin:
@@ -83,7 +86,7 @@ In order to use this module with the Expo CLI you can make use of our integrated
83
86
"react-native-imglysdk",
84
87
{
85
88
"android": {
86
-
"version": "10.1.1",
89
+
"version": "10.4.0",
87
90
"modules": [
88
91
"ui:core",
89
92
"ui:transform",
@@ -103,7 +106,7 @@ In order to use this module with the Expo CLI you can make use of our integrated
103
106
```
104
107
105
108
For further information on the available modules, please refer to step 4 of the React Native CLI [Android](#android) guide below.
106
-
109
+
107
110
**Please note that the `react-native-imglysdk` module manages both VideoEditor SDK as well as PhotoEditor SDK so you only need to add the Expo config plugin once even when using both SDKs.**
108
111
109
112
3. From version `2.15.0` the iOS deployment target needs to be set to at least iOS 13. You can use the `expo-build-properties` config plugin for this. Please refer to the [official Expo docs](https://docs.expo.dev/versions/v45.0.0/sdk/build-properties/).
@@ -149,6 +152,7 @@ For older React Native versions autolinking is not available and VideoEditor SDK
149
152
#### Android
150
153
151
154
1. Add the img.ly repository and plugin by opening the `android/build.gradle` file (**not**`android/app/build.gradle`) and adding these lines at the top:
155
+
152
156
```groovy
153
157
buildscript {
154
158
repositories {
@@ -157,11 +161,12 @@ For older React Native versions autolinking is not available and VideoEditor SDK
In order to update VideoEditor SDK for Android replace the version string `10.1.1` with a [newer release](https://github.com/imgly/vesdk-android-demo/releases).
168
+
169
+
In order to update VideoEditor SDK for Android replace the version string `10.4.0` with a [newer release](https://github.com/imgly/vesdk-android-demo/releases).
165
170
166
171
2. Still in the `android/build.gradle` file (**not**`android/app/build.gradle`), add these lines at the bottom:
167
172
@@ -189,7 +194,8 @@ For older React Native versions autolinking is not available and VideoEditor SDK
189
194
}
190
195
```
191
196
192
-
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"`:
197
+
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"`:
198
+
193
199
```groovy
194
200
apply plugin: 'ly.img.android.sdk'
195
201
apply plugin: 'kotlin-android'
@@ -237,25 +243,29 @@ For older React Native versions autolinking is not available and VideoEditor SDK
Each platform requires a separate license file. [Unlock VideoEditor SDK](./index.d.ts#L41-L53) automatically for both platforms with a single line of code via [platform-specific file extensions](https://reactnative.dev/docs/platform-specific-code#platform-specific-extensions):
0 commit comments