Skip to content

Commit c458b09

Browse files
committed
Add version 2.2.2
1 parent ac61f15 commit c458b09

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [2.2.2]
2+
3+
### Fixed
4+
5+
* Fixed default ordering of the frames for cross-platform consistency.
6+
17
## [2.2.1]
28

39
### Fixed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ yarn react-native link
7474
}
7575
dependencies {
7676
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61"
77-
classpath 'ly.img.android.sdk:plugin:7.1.7'
77+
classpath 'ly.img.android.sdk:plugin:7.1.8'
7878
}
7979
}
8080
```
81-
In order to update PhotoEditor SDK for Android replace the version string `7.1.7` with a [newer release](https://github.com/imgly/pesdk-android-demo/releases).
81+
In order to update PhotoEditor SDK for Android replace the version string `7.1.8` with a [newer release](https://github.com/imgly/pesdk-android-demo/releases).
8282

8383
3. Configure PhotoEditor 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"`:
8484
```groovy

configuration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,10 +672,10 @@ export interface Configuration {
672672
* `NONE` is always added.
673673
* @example // Defaults to:
674674
* [
675+
* { identifier: "imgly_frame_dia" },
675676
* { identifier: "imgly_frame_art_decor" },
676677
* { identifier: "imgly_frame_black_passepartout" },
677678
* { identifier: "imgly_frame_wood_passepartout" },
678-
* { identifier: "imgly_frame_dia" },
679679
* ]
680680
*/
681681
items?: (Frame | ExistingItem)[];
@@ -1736,10 +1736,10 @@ export function createDefaultConfiguration(): Configuration {
17361736
},
17371737
frame: {
17381738
items: [
1739+
{ identifier: "imgly_frame_dia" },
17391740
{ identifier: "imgly_frame_art_decor" },
17401741
{ identifier: "imgly_frame_black_passepartout" },
17411742
{ identifier: "imgly_frame_wood_passepartout" },
1742-
{ identifier: "imgly_frame_dia" },
17431743
],
17441744
actions: [FrameAction.REPLACE, FrameAction.WIDTH, FrameAction.OPACITY],
17451745
},

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-photoeditorsdk",
33
"title": "React Native module for PhotoEditor SDK",
4-
"version": "2.2.1",
4+
"version": "2.2.2",
55
"description": "A React Native module for PhotoEditor SDK. Integrate the photo 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)