Skip to content

Commit 8079f60

Browse files
committed
Add version 3.3.0
1 parent 2dd1bd9 commit 8079f60

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## [3.3.0]
2+
3+
### Changed
4+
5+
* [react-native-imglysdk] Removed `@expo/config-plugins` dependency.
6+
7+
### Fixed
8+
9+
* Fixed potential crash from `unlockWithLicense` if new architecture is enabled.
10+
111
## [3.2.0]
212

313
### Changed

index.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,7 @@ class PESDK {
157157
* resolved by the packager.
158158
*/
159159
static unlockWithLicense(license) {
160-
if (Platform.OS == 'android') {
161-
return RNPhotoEditorSDK.unlockWithLicense(JSON.stringify(license));
162-
} else {
163-
return RNPhotoEditorSDK.unlockWithLicense(license);
164-
}
160+
return RNPhotoEditorSDK.unlockWithLicense(JSON.stringify(license));
165161
}
166162
}
167163

package.json

Lines changed: 2 additions & 2 deletions
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": "3.2.0",
4+
"version": "3.3.0",
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",
@@ -38,6 +38,6 @@
3838
"react-native": ">=0.60.0 <1.0.x"
3939
},
4040
"dependencies": {
41-
"react-native-imglysdk": "3.2.0"
41+
"react-native-imglysdk": "3.3.0"
4242
}
4343
}

0 commit comments

Comments
 (0)