Skip to content

Commit 26e2e34

Browse files
committed
Add version 2.5.0
1 parent 715d24e commit 26e2e34

8 files changed

Lines changed: 45 additions & 433 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## [2.5.0]
2+
3+
### Removed
4+
5+
* 🚨 Removed `createDefaultConfiguration` as the created object is redundant with the `Configuration` documentation and it contains the options that are used per default when the editor is launched without a given configuration.
6+
7+
### Added
8+
9+
* Added integration and identifier documentation for new smart stickers.
10+
* Added integration and identifier documentation for new GIF sticker category and stickers.
11+
112
## [2.4.2]
213

314
### Fixed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ For older React Native versions autolinking is not available and VideoEditor SDK
8383
}
8484
dependencies {
8585
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61"
86-
classpath 'ly.img.android.sdk:plugin:7.2.5'
86+
classpath 'ly.img.android.sdk:plugin:7.6.0'
8787
}
8888
}
8989
```
90-
In order to update VideoEditor SDK for Android replace the version string `7.2.5` with a [newer release](https://github.com/imgly/vesdk-android-demo/releases).
90+
In order to update VideoEditor SDK for Android replace the version string `7.6.0` with a [newer release](https://github.com/imgly/vesdk-android-demo/releases).
9191

9292
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"`:
9393
```groovy
@@ -119,6 +119,10 @@ For older React Native versions autolinking is not available and VideoEditor SDK
119119
include 'assets:overlay-basic'
120120
include 'assets:sticker-shapes'
121121
include 'assets:sticker-emoticons'
122+
include 'assets:sticker-animated'
123+
124+
include 'backend:sticker-animated'
125+
include 'backend:sticker-smart'
122126
}
123127
}
124128
```
@@ -131,7 +135,7 @@ Import the module in your `App.js`:
131135
import {VESDK, VideoEditorModal, Configuration} from 'react-native-videoeditorsdk';
132136
```
133137

134-
Unlock VideoEditor SDK with a license file:
138+
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):
135139

136140
```js
137141
VESDK.unlockWithLicense(require('./vesdk_license'));

RNVideoEditorSDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ Pod::Spec.new do |s|
1818

1919
s.dependency 'React'
2020
s.dependency 'React-RCTImage'
21-
s.dependency 'VideoEditorSDK', '~> 10.9'
21+
s.dependency 'VideoEditorSDK', '~> 10.18'
2222
end

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ imglyConfig {
2020
}
2121
}
2222

23-
def MIN_LY_IMG_ANDROID_SDK_PLUGIN_VERSION = "7.1.13"
23+
def MIN_LY_IMG_ANDROID_SDK_PLUGIN_VERSION = "7.6.0"
2424

2525
task checkVersion {
2626
if (imglyConfig.convertToVersionNumber(imglyConfig.getVersion()) < imglyConfig.convertToVersionNumber(MIN_LY_IMG_ANDROID_SDK_PLUGIN_VERSION)) {

configuration.ts

Lines changed: 21 additions & 409 deletions
Large diffs are not rendered by default.

index.d.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,13 @@ declare class VESDK {
4444
* @param {string | object} license The license used to unlock the SDK. Can be either an URI
4545
* pointing to a local `file://` resource that contains the license, the license as a string,
4646
* or the license as an object which can be optained by, e.g., `require('./vesdk_license')`
47-
* where the required license files must be named `./vesdk_license.ios.json` for the iOS license
48-
* and `./vesdk_license.android.json` for the Android license file in order to get automatically
47+
* where the required license files must be named `vesdk_license.ios.json` for the iOS license
48+
* and `vesdk_license.android.json` for the Android license file in order to get automatically
4949
* resolved by the packager.
5050
*/
5151
static unlockWithLicense(
5252
license: string | object
5353
): void
54-
55-
/**
56-
* Creates a configuration object populated with default values for all options.
57-
* @return {Configuration} The default configuration.
58-
*/
59-
static createDefaultConfiguration(
60-
): Configuration
6154
}
6255

6356
/**

index.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Component } from 'react';
22
import { NativeModules, Image, Platform } from 'react-native';
3-
import { Configuration, createDefaultConfiguration } from './configuration';
3+
import { Configuration } from './configuration';
44

55
const { RNVideoEditorSDK } = NativeModules;
66

@@ -133,14 +133,6 @@ class VESDK {
133133
RNVideoEditorSDK.unlockWithLicense(license);
134134
}
135135
}
136-
137-
/**
138-
* Creates a configuration object populated with default values for all options.
139-
* @return {Configuration} The default configuration.
140-
*/
141-
static createDefaultConfiguration() {
142-
return createDefaultConfiguration()
143-
}
144136
}
145137

146138
class VideoEditorModal extends Component {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-videoeditorsdk",
33
"title": "React Native module for VideoEditor SDK",
4-
"version": "2.4.2",
4+
"version": "2.5.0",
55
"description": "A React Native module for VideoEditor SDK. Integrate the video editor into your own HTML5, iOS or Android app - in minutes!",
66
"main": "index.js",
77
"typings": "index.d.ts",

0 commit comments

Comments
 (0)