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 22, 2021
1 parent 80fba71 commit 4047157
Show file tree
Hide file tree
Showing 8 changed files with 340 additions and 421 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## [2.2.0]

### Added

* Added `configuration.export.force` which will force the video to be rendered and exported in the defined output format even if no changes have been applied. Otherwise, the input asset will be passed through and might not match the defined output format.

### Fixed

* [iOS] Fixed issue where the plugin result would not be sent.

### Changed

* [Android] Removed `WRITE_EXTERNAL_STORAGE` permission request when opening the editor.

## [2.1.0]

### Added
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<a href="https://www.photoeditorsdk.com/?utm_campaign=Projects&utm_source=Github&utm_medium=VESDK&utm_content=Cordova"><img src="https://static.photoeditorsdk.com/vesdk/vesdk-logo-s.svg" alt="VideoEditor SDK Logo"/></a>
<a href="https://img.ly/video-sdk?utm_campaign=Projects&utm_source=Github&utm_medium=VESDK&utm_content=Cordova"><img src="https://img.ly/static/logos/VE.SDK_Logo.svg" alt="VideoEditor SDK Logo"/></a>
</p>
<p align="center">
<a href="https://npmjs.org/package/cordova-plugin-videoeditorsdk">
Expand Down Expand Up @@ -68,9 +68,9 @@ Please see our [example project](https://github.com/imgly/vesdk-cordova-demo) wh

## License Terms

Make sure you have a [commercial license](https://account.photoeditorsdk.com/pricing?product=vesdk&?utm_campaign=Projects&utm_source=Github&utm_medium=VESDK&utm_content=Cordova) for VideoEditor SDK before releasing your app.
Make sure you have a [commercial license](https://img.ly/pricing?product=vesdk&?utm_campaign=Projects&utm_source=Github&utm_medium=VESDK&utm_content=Cordova) for VideoEditor SDK before releasing your app.
A commercial license is required for any app or service that has any form of monetization: This includes free apps with in-app purchases or ad supported applications. Please contact us if you want to purchase the commercial license.

## Support and License

Use our [service desk](http://support.videoeditorsdk.com) for bug reports or support requests. To request a commercial license, please use the [license request form](https://account.photoeditorsdk.com/pricing?product=vesdk&?utm_campaign=Projects&utm_source=Github&utm_medium=VESDK&utm_content=Cordova) on our website.
Use our [service desk](https://support.img.ly) for bug reports or support requests. To request a commercial license, please use the [license request form](https://img.ly/pricing?product=vesdk&?utm_campaign=Projects&utm_source=Github&utm_medium=VESDK&utm_content=Cordova) on our website.
2 changes: 1 addition & 1 deletion hooks/dependencies-gradle-hook.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = (context) => {
BLOCK_START +
`
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.10"
classpath "ly.img.android.sdk:plugin:8.3.1"` +
classpath "ly.img.android.sdk:plugin:8.3.4"` +
"\n" +
BLOCK_END +
"\n";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cordova-plugin-videoeditorsdk",
"description": "A Cordova plugin for VideoEditor SDK. Integrate the video editor into your own HTML5, iOS or Android app - in minutes!",
"version": "2.1.0",
"version": "2.2.0",
"types": "./types/index.d.ts",
"main": "www/videoeditorsdk.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-videoeditorsdk" version="2.1.0">
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-videoeditorsdk" version="2.2.0">
<name>VideoEditorSDK</name>
<description>A Cordova plugin for VideoEditor SDK. Integrate the video editor into your own HTML5, iOS or Android app - in minutes!</description>
<license>BSD-3-Clause</license>
Expand Down Expand Up @@ -68,7 +68,7 @@
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="VideoEditorSDK" spec="~> 10.24"/>
<pod name="VideoEditorSDK" spec="~> 10.27"/>
</pods>
</podspec>
</platform>
Expand Down
2 changes: 1 addition & 1 deletion src/android/VESDKPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class VESDKPlugin : CordovaPlugin() {
MainThreadRunnable {
EditorBuilder(currentActivity)
.setSettingsList(settingsList)
.startActivityForResult(currentActivity, EDITOR_RESULT_ID)
.startActivityForResult(currentActivity, EDITOR_RESULT_ID, arrayOfNulls(0))
}()
}

Expand Down
723 changes: 310 additions & 413 deletions src/ios/VESDKPlugin.m

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions types/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,14 @@ export interface Configuration {
* null
*/
filename?: string | null;
/**
* If enabled, the photo/video will be rendered and exported in the defined output format
* even if no changes have been applied. Otherwise, the input asset will be passed
* through and might not match the defined output format.
* @example // Defaults to:
* false
*/
force?: boolean;
/**
* Export configuration of the serialized image and video editing operations that were applied to
* the input media loaded into the editor. This also allows to recover these operations the next
Expand Down

0 comments on commit 4047157

Please sign in to comment.