Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-photoeditorsdk

Package Overview
Dependencies
Maintainers
8
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-photoeditorsdk - npm Package Compare versions

Comparing version 3.3.0 to 3.4.0

9

CHANGELOG.md

@@ -0,1 +1,10 @@

## [3.4.0]
### Changed
* [Android] 🚨 With this version you will need to specify a suitable KSP depending on the Kotlin version you are using. Please visit our guide [here](https://github.com/imgly/pesdk-cordova/blob/master/README.md#ksp).
* [Android] Raised minimum PhotoEditor SDK for Android version to 10.9.0.
* [iOS] 🚨 Bumped iOS deployment target to 13.0.
* [iOS] Raised minimum PhotoEditor SDK for iOS version to 11.8.
## [3.3.0]

@@ -2,0 +11,0 @@

17

hooks/copy-imglyConfig-gradle-hook.js

@@ -11,6 +11,2 @@ const fs = require("fs");

const BLOCK_END = `// imglyConfig ADDED BY IMGLY - BLOCK END`;
const imglyConfigHeader = `
apply plugin: 'ly.img.android.sdk'
apply plugin: 'kotlin-android'
`;

@@ -39,18 +35,9 @@ // The content of the gradle file in the cordova app root

let fileContents = fs.readFileSync(file, "utf8");
let whereToAdd = fileContents.indexOf(
"// PLUGIN GRADLE EXTENSIONS START"
);
fileContents =
fileContents.substr(0, whereToAdd) +
fileContents +
BLOCK_START +
imglyConfigHeader +
imglyConfig +
BLOCK_END +
"\n" +
fileContents.substr(whereToAdd);
BLOCK_END
fs.writeFileSync(file, fileContents, "utf8");
console.log("updated " + file + " to include imglyConfig");
callback();

@@ -57,0 +44,0 @@ },

@@ -12,4 +12,5 @@ const fs = require("fs");

const VERSION_BLOCK_END = "// VERSION CHANGED BY IMGLY - END -";
const gradlePluginVersion = '1.5.32';
var sdkVersion = "10.1.1";
const gradlePluginVersion = '1.7.21';
var sdkVersion = "10.9.0";
var kspVersion = "1.7.21-1.0.8";

@@ -25,3 +26,5 @@ try {

const configVersion = configJson.version;
const configKspVersion = configJson.kspVersion;
if (configVersion != null) sdkVersion = configVersion;
if (configKspVersion != null) kspVersion = configKspVersion;
}

@@ -38,2 +41,3 @@ } catch {

`
classpath "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:${kspVersion}"
classpath "ly.img.android.sdk:plugin:${sdkVersion}"` +

@@ -40,0 +44,0 @@ "\n" +

const fs = require("fs");
const path = require("path");
const async = require("async");

@@ -10,3 +9,3 @@ module.exports = (context) => {

// Comment out the modules you don't need, to save size.
imglyConfig {
IMGLY.configure {
modules {

@@ -13,0 +12,0 @@ include 'ui:text'

@@ -91,3 +91,3 @@ const fs = require("fs");

fs.writeFileSync(file, fileContents, "utf8");
console.log("Updated " + file + " to include img.ly repositories.");
console.log("Updated " + file + " to include IMG.LY repositories.");
return;

@@ -94,0 +94,0 @@ };

@@ -7,3 +7,3 @@ This sample code or wrapper is licensed with a 3-clause BSD license.

Copyright (c) 2014-2022, img.ly GmbH
Copyright (c) 2014-2024, IMG.LY GmbH
All rights reserved.

@@ -21,3 +21,3 @@

3. Neither the name img.ly GmbH, img.ly, PhotoEditor SDK, VideoEditor SDK
3. Neither the name IMG.LY GmbH, IMG.LY, PhotoEditor SDK, VideoEditor SDK
nor the names of its developers may be used to endorse or promote products

@@ -24,0 +24,0 @@ derived from this software without specific prior written permission.

{
"name": "cordova-plugin-photoeditorsdk",
"description": "A Cordova plugin for PhotoEditor SDK. Integrate the photo editor into your own HTML5, iOS or Android app - in minutes!",
"version": "3.3.0",
"version": "3.4.0",
"types": "./types/index.d.ts",

@@ -40,3 +40,3 @@ "main": "www/photoeditorsdk.js",

"author": {
"name": "img.ly GmbH",
"name": "IMG.LY GmbH",
"email": "contact@img.ly"

@@ -43,0 +43,0 @@ },

@@ -62,2 +62,16 @@ <p align="center">

#### KSP
With version `3.2.0` of the PhotoEditor SDK for Cordova, the integration of the native Android PE.SDK has changed. The new minimum Android PE.SDK version is `10.9.0` which requires [Kotlin Symbol Processing (KSP)](https://github.com/google/ksp).
The KSP version depends on the Kotlin version that you are using. In order to find the correct version, please visit the [official KSP release page](https://github.com/google/ksp/releases?page=1).
In order to specify the KSP version, please add an entry to the `imglyConfig.json`:
```json
{
"kspVersion": "1.7.21-1.0.8"
}
```
By default, version `1.7.21-1.0.8` is used which is suitable for Kotlin `1.7.21`.
#### AndroidX

@@ -113,2 +127,6 @@

### iOS
With version `3.4.0` the plugin requires a deployment target of 13.0+ for iOS. If needed, please update your deployment target inside the `config.xml` as described [here](https://cordova.apache.org/docs/en/latest/config_ref/index.html).
### Usage

@@ -115,0 +133,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc