Skip to content

Commit 645db84

Browse files
committed
Add version 2.12.0
1 parent 3a0f015 commit 645db84

File tree

9 files changed

+241
-106
lines changed

9 files changed

+241
-106
lines changed

CHANGELOG.md

Lines changed: 80 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,66 @@
1+
## [2.12.0]
2+
3+
### Changed
4+
5+
* Unified changelog for `react-native-photoeditorsdk`, `react-native-videoeditorsdk`, and the new `react-native-imglysdk`.
6+
* Removed `WRITE_EXTERNAL_STORAGE` permission request when opening the editor on Android.
7+
* Aligned emoji support for iOS and Android. Emoji support is not optimized for cross-platform use and disabled by default. Added option `configuration.text.allowEmojis` to opt in.
8+
* Updated documentation for remote resources used in the editor. Remote resources are usable but not optimized and therefore should be downloaded in advance and then passed to the editor as local resources.
9+
10+
### Added
11+
12+
* Added integration and documentation for custom watermark.
13+
* [react-native-imglysdk] Added Expo config plugin. See the [PE.SDK](https://github.com/imgly/pesdk-react-native#expo-cli) or [VE.SDK](https://github.com/imgly/vesdk-react-native#expo-cli) getting started section of the README for instructions on how to use it.
14+
15+
### Fixed
16+
17+
* [react-native-videoeditorsdk] Fixed `composition.personalVideoClips` configuration option would not be resolved correctly on Android.
18+
119
## [2.11.0]
220

321
### Changed
422

5-
* [Android] 🚨 The img.ly maven repository is no longer automatically added to your project by the plugin. Please refer to the new step 3 in the [getting started](https://github.com/imgly/pesdk-react-native#android) section of the README for instructions on how to add it.
6-
* [Android] Added support for PhotoEditor SDK for Android version 9.
23+
* 🚨 The img.ly maven repository is no longer automatically added to your project by the plugin for Android. Please refer to the new step 3 in the [getting started](https://github.com/imgly/vesdk-react-native#android) section of the README for instructions on how to add it.
24+
* [react-native-videoeditorsdk] Added support for VideoEditor SDK for Android version 9.
25+
* [react-native-photoeditorsdk] Added support for PhotoEditor SDK for Android version 9.
726

827
### Added
928

10-
* Added `configuration.export.force` which will force the photo 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.
29+
* Added `configuration.export.force` which will force the photo/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.
30+
* [react-native-videoeditorsdk] Added integration and documentation for force trim.
1131

1232
### Fixed
1333

14-
* [iOS] Fixed `export.image.exportType` configuration option.
34+
* [react-native-photoeditorsdk] Fixed `export.image.exportType` configuration option on iOS.
1535

1636
## [2.10.1]
1737

1838
### Fixed
1939

20-
* [Android] Fixed compiling issues with `compileSdkVersion` 30.
40+
* Fixed compiling issues with `compileSdkVersion` 30 on Android.
41+
* [react-native-videoeditorsdk] Fixed video not being loaded when opening a single video without having video composition enabled in the license on Android.
2142

2243
## [2.10.0]
2344

24-
* Same version as 2.9.0. Bumped version to keep the version consistent with `react-native-videoeditorsdk`.
45+
### Added
46+
47+
* [react-native-videoeditorsdk] Added integration and documentation for new video library and audio library.
48+
49+
### Fixed
50+
51+
* [react-native-videoeditorsdk] Fixed crash when loading a serialization on Android.
2552

2653
## [2.9.0]
2754

28-
* Same version as 2.8.0. Bumped version to keep the version consistent with `react-native-videoeditorsdk`.
55+
### Added
56+
57+
* [react-native-videoeditorsdk] Added integration for new video composition tool on Android.
2958

3059
## [2.8.0]
3160

32-
* Same version as 2.7.0. Bumped version to keep the version consistent with `react-native-videoeditorsdk`.
61+
### Added
62+
63+
* [react-native-videoeditorsdk] Added integration and documentation for new video composition tool on iOS. Android support will be added in a later release.
3364

3465
## [2.7.0]
3566

@@ -39,20 +70,24 @@
3970

4071
### Added
4172

42-
* [iOS] Added support to replace the `PhotoEditViewController` with custom subclasses.
73+
* [react-native-videoeditorsdk] Added support to replace the `VideoEditViewController` with custom subclasses on iOS.
74+
* [react-native-photoeditorsdk] Added support to replace the `PhotoEditViewController` with custom subclasses on iOS.
4375

4476
## [2.6.1]
4577

4678
### Changed
4779

48-
* [Android] Raised minimum PhotoEditor SDK for Android version to 8.0.8.
80+
* [react-native-videoeditorsdk] Raised minimum VideoEditor SDK for Android version to 8.0.8.
81+
* [react-native-photoeditorsdk] Raised minimum PhotoEditor SDK for Android version to 8.0.8.
4982

5083
## [2.6.0]
5184

5285
### Changed
5386

54-
* [Android] Added support for PhotoEditor SDK for Android version 8.0.4 and above.
55-
* [Android] Raised minimum PhotoEditor SDK for Android version to 8.0.4.
87+
* [react-native-videoeditorsdk] Added support for VideoEditor SDK for Android version 8.0.4 and above.
88+
* [react-native-videoeditorsdk] Raised minimum VideoEditor SDK for Android version to 8.0.4.
89+
* [react-native-photoeditorsdk] Added support for PhotoEditor SDK for Android version 8.0.4 and above.
90+
* [react-native-photoeditorsdk] Raised minimum PhotoEditor SDK for Android version to 8.0.4.
5691

5792
## [2.5.0]
5893

@@ -63,24 +98,25 @@
6398
### Added
6499

65100
* Added integration and identifier documentation for new smart stickers.
101+
* [react-native-videoeditorsdk] Added integration and identifier documentation for new GIF sticker category and stickers.
66102

67103
## [2.4.2]
68104

69105
### Fixed
70106

71-
* [Android] Fixed serialization export file URL to include the schema.
107+
* Fixed serialization export file URL to include the schema on Android.
108+
* [react-native-videoeditorsdk] Fixed crash when exporting serialization for remote videos on Android.
109+
* [react-native-videoeditorsdk] 🚨 Fixed export result type on Android to `video` which was `image` before.
72110

73111
## [2.4.1]
74112

75-
### Fixed
76-
77-
* [Android] Fixed wrong behavior of `ImageExportType` where `DATA_URL` and `FILE_URL` were swapped.
113+
* [react-native-photoeditorsdk] Fixed wrong behavior of `ImageExportType` where `DATA_URL` and `FILE_URL` were swapped on Android.
78114

79115
## [2.4.0]
80116

81117
### Changed
82118

83-
* [iOS] 🚨 `LUTFilter` tile configurations are not parsed from the `lutURI` filename anymore and the default changed from a 8x8 to a 5x5 tile configuration. Please use the newly added configuration options to configure the tile layout independent of the filename.
119+
* 🚨 `LUTFilter` tile configurations are not parsed from the `lutURI` filename anymore and the default changed from a 8x8 to a 5x5 tile configuration on iOS. Please use the newly added configuration options to configure the tile layout independent of the filename.
84120

85121
### Added
86122

@@ -90,7 +126,7 @@
90126

91127
### Fixed
92128

93-
* [Android] Fixed loading of static resources for release builds.
129+
* Fixed loading of static resources for release builds on Android.
94130

95131
## [2.3.1]
96132

@@ -102,7 +138,8 @@
102138

103139
### Added
104140

105-
* Added `PhotoEditorModal` component that can be used instead of the `PESDK.openEditor` function to modally present a photo editor.
141+
* [react-native-videoeditorsdk] Added `VideoEditorModal` component that can be used instead of the `VESDK.openEditor` function to modally present a video editor.
142+
* [react-native-photoeditorsdk] Added `PhotoEditorModal` component that can be used instead of the `PESDK.openEditor` function to modally present a photo editor.
106143

107144
## [2.2.2]
108145

@@ -114,83 +151,90 @@
114151

115152
### Fixed
116153

117-
* [iOS] Fixed possible archive issue with React Native versions older than 0.60.
118-
* [Android] Fixed "Can only use lower 16 bits for requestCode" exception.
154+
* Fixed possible archive issue for iOS with React Native versions older than 0.60.
155+
* Fixed "Can only use lower 16 bits for requestCode" exception on Android.
119156

120157
## [2.2.0]
121158

122159
### Added
123160

124-
* [iOS] Added an interface for native customization. Set the `RNPhotoEditorSDK.configureWithBuilder` and `RNPhotoEditorSDK.willPresentPhotoEditViewController` properties of the bridge module to tweak PhotoEditor SDK to your needs beyond the configuration options exposed to JavaScript.
161+
* [react-native-videoeditorsdk] Added an interface for native customization on iOS. Set the `RNVideoEditorSDK.configureWithBuilder` and `RNVideoEditorSDK.willPresentVideoEditViewController` properties of the bridge module to tweak VideoEditor SDK to your needs beyond the configuration options exposed to JavaScript.
162+
* [react-native-photoeditorsdk] Added an interface for native customization on iOS. Set the `RNPhotoEditorSDK.configureWithBuilder` and `RNPhotoEditorSDK.willPresentPhotoEditViewController` properties of the bridge module to tweak PhotoEditor SDK to your needs beyond the configuration options exposed to JavaScript.
125163

126164
### Fixed
127165

128-
* [Android] Fixed possible NPE if other native libraries register `addActivityEventListener()`.
166+
* Fixed possible NPE if other native libraries register `addActivityEventListener()` on Android.
129167

130168
## [2.1.2]
131169

132170
### Fixed
133171

134-
* [Android] Fixed possible compile issue with React Native versions older than 0.60.
172+
* Fixed possible compile issue with React Native versions older than 0.60 on Android.
135173

136174
## [2.1.1]
137175

138176
### Fixed
139177

140-
* [iOS] Fixed duplicate symbols for constants when using PhotoEditor SDK and VideoEditor SDK in the same project.
141-
* [iOS] Fixed return `null` if the editor is dismissed without exporting the edited image.
178+
* Fixed duplicate symbols for constants on iOS when using VideoEditor SDK and PhotoEditor SDK in the same project.
179+
* Fixed return `null` if the editor is dismissed without exporting the edited video on iOS.
142180

143181
## [2.1.0]
144182

145183
### Changed
146184

147-
* [iOS] Updated PhotoEditor SDK for iOS to version 10.7.0 and above.
185+
* [react-native-videoeditorsdk] Updated VideoEditor SDK for iOS to version 10.7.0.
186+
* [react-native-photoeditorsdk] Updated PhotoEditor SDK for iOS to version 10.7.0.
148187

149188
### Fixed
150189

151-
* [iOS] Fixed automatic (CocoaPods) installation process so that PhotoEditor SDK and VideoEditor SDK can be used in the same project.
152-
* [iOS] Fixed `FRAMEWORK_SEARCH_PATHS` for manual linking PhotoEditor SDK which is required for React Native versions older than 0.60.
190+
* Fixed automatic (CocoaPods) installation process for iOS so that VideoEditor SDK and PhotoEditor SDK can be used in the same project.
191+
* Fixed `FRAMEWORK_SEARCH_PATHS` for manual linking VideoEditor SDK on iOS which is required for React Native versions older than 0.60.
153192
* Add missing `Platform` import when using React Native versions older than 0.60.
154193

155194
## [2.0.1]
156195

157196
### Fixed
158197

159-
* [Android] Fixed error message: "tools: replace" attribute that is linked to the "provider" element type is not bound.
198+
* Fixed error message: "tools: replace" attribute that is linked to the "provider" element type is not bound on Android.
160199

161200
## [2.0.0]
162201

163202
### Added
164203

165-
* [Android] Added support for PhotoEditor SDK for Android version 7.1.5 and above.
204+
* [react-native-videoeditorsdk] Added support for VideoEditor SDK for Android version 7.1.5 and above.
205+
* [react-native-photoeditorsdk] Added support for PhotoEditor SDK for Android version 7.1.5 and above.
166206

167207
## [1.3.0]
168208

169209
### Changed
170210

171-
* [iOS] Updated PhotoEditor SDK for iOS to version 10.6.0.
211+
* [react-native-videoeditorsdk] Updated VideoEditor SDK for iOS to version 10.6.0.
212+
* [react-native-photoeditorsdk] Updated PhotoEditor SDK for iOS to version 10.6.0.
172213

173214
## [1.2.0]
174215

175216
### Changed
176217

177-
* [iOS] Updated PhotoEditor SDK for iOS to version 10.5.0.
218+
* [react-native-videoeditorsdk] Updated VideoEditor SDK for iOS to version 10.5.0.
219+
* [react-native-photoeditorsdk] Updated PhotoEditor SDK for iOS to version 10.5.0.
178220

179221
## [1.1.0]
180222

181223
### Added
182224

183-
* [iOS] Updated PhotoEditor SDK for iOS to version 10.4.0.
184225
* Added configuration options for personal stickers.
226+
* [react-native-videoeditorsdk] Updated VideoEditor SDK for iOS to version 10.4.0.
227+
* [react-native-photoeditorsdk] Updated PhotoEditor SDK for iOS to version 10.4.0.
185228

186229
## [1.0.2]
187230

188231
### Fixed
189232

190-
* [iOS] Fixed `unlockWithLicense`.
233+
* Fixed `unlockWithLicense`.
191234

192235
## [1.0.0]
193236

194237
### Added
195238

196-
* [iOS] Initial release of the React Native module for PhotoEditor SDK. This version adds support for iOS only. Android support will be added in a later release.
239+
* [react-native-videoeditorsdk] Initial release of the React Native module for VideoEditor SDK. This version adds support for iOS only. Android support will be added in a later release.
240+
* [react-native-photoeditorsdk] Initial release of the React Native module for PhotoEditor SDK. This version adds support for iOS only. Android support will be added in a later release.

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ In order to run any samples or use any wrapper without a watermark,
44
you'll have to purchase a commercial PhotoEditor SDK or VideoEditor SDK
55
license. Visit https://img.ly for more details.
66

7-
Copyright (c) 2014-2020, img.ly GmbH
7+
Copyright (c) 2014-2022, img.ly GmbH
88
All rights reserved.
99

1010
Redistribution and use in source and binary forms, with or without

README.md

Lines changed: 71 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,65 @@ Check out our [video tutorial](https://img.ly/blog/a-photo-and-video-editor-for-
2121

2222
## Getting started
2323

24+
### Expo CLI
25+
26+
#### Limitations
27+
28+
This module can **not** be used in the `Expo Go` application because it uses custom native libraries.
29+
30+
#### Usage
31+
32+
In order to use this module with the Expo CLI you can make use of our integrated Expo config plugin:
33+
34+
1. Add our module to your Expo application:
35+
36+
```sh
37+
expo install react-native-photoeditorsdk
38+
```
39+
40+
This will automatically install [`react-native-imglysdk`](https://npmjs.org/package/react-native-imglysdk) which you can use to configure your application with our Expo config plugin.
41+
42+
2. Inside your app's `app.json` or `app.config.js` add our config plugin:
43+
44+
```json
45+
{
46+
"plugins": ["react-native-imglysdk"]
47+
}
48+
```
49+
50+
If needed, you can also use a specific version of our native library for Android as well as define explicitly the included modules. By default, all modules for both PhotoEditor SDK and VideoEditor SDK are included.
51+
52+
```json
53+
{
54+
"plugins": [
55+
[
56+
"react-native-imglysdk",
57+
{
58+
"android": {
59+
"version": "9.2.0",
60+
"modules": [
61+
"ui:core",
62+
"ui:transform",
63+
"ui:filter",
64+
"assets:filter-basic"
65+
]
66+
}
67+
}
68+
]
69+
]
70+
}
71+
```
72+
73+
For further information on the available modules, please refer to step 4 of the React Native CLI [Android](#android) guide below.
74+
75+
**Please note that the `react-native-imglysdk` module manages both VideoEditor SDK as well as PhotoEditor SDK so you only need to add the Expo config plugin once even when using both SDKs.**
76+
77+
3. The changes will be applied on `expo prebuild` or during the prebuild phase of `eas build`.
78+
79+
For further information on how to integrate Expo config plugins please also refer to the official [docs](https://docs.expo.dev/guides/config-plugins/#using-a-plugin-in-your-app).
80+
81+
### React Native CLI
82+
2483
Install the React Native module in your project as follows:
2584

2685
```sh
@@ -35,7 +94,7 @@ yarn react-native link
3594

3695
before you continue with the platform-specific guides below.
3796

38-
### iOS
97+
#### iOS
3998

4099
For React Native 0.60 and newer [autolinking](https://github.com/react-native-community/cli/blob/master/docs/autolinking.md) is used and PhotoEditor SDK for iOS should be automatically installed:
41100

@@ -53,7 +112,7 @@ with CocoaPods.
53112

54113
For older React Native versions autolinking is not available and PhotoEditor SDK for iOS needs to be [manually integrated](https://img.ly/docs/pesdk/ios/introduction/getting_started/#manually) in your Xcode project if you don't use [CocoaPods to manage your dependencies](https://facebook.github.io/react-native/docs/0.59/integration-with-existing-apps#configuring-cocoapods-dependencies). Make sure to put `ImglyKit.framework` and `PhotoEditorSDK.framework` in the `ios/` directory of your project.
55114

56-
### Android
115+
#### Android
57116

58117
1. Because PhotoEditor SDK for Android is quite large, there is a high chance that you will need to enable [Multidex](https://developer.android.com/studio/build/multidex) for your project as follows:
59118

@@ -77,27 +136,26 @@ For older React Native versions autolinking is not available and PhotoEditor SDK
77136
```groovy
78137
buildscript {
79138
repositories {
80-
jcenter()
81-
maven { url "https://plugins.gradle.org/m2/" }
139+
mavenCentral()
82140
maven { url "https://artifactory.img.ly/artifactory/imgly" }
83141
}
84142
dependencies {
85143
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.10"
86-
classpath 'ly.img.android.sdk:plugin:9.1.0'
144+
classpath 'ly.img.android.sdk:plugin:9.2.0'
87145
}
88146
}
89147
```
90-
In order to update PhotoEditor SDK for Android replace the version string `9.1.0` with a [newer release](https://github.com/imgly/pesdk-android-demo/releases).
148+
In order to update PhotoEditor SDK for Android replace the version string `9.2.0` with a [newer release](https://github.com/imgly/pesdk-android-demo/releases).
91149

92150
3. Still in the `android/build.gradle` file (**not** `android/app/build.gradle`), add these lines at the bottom:
93151

94-
```groovy
95-
allprojects {
96-
repositories {
97-
maven { url 'https://artifactory.img.ly/artifactory/imgly' }
98-
}
99-
}
100-
```
152+
```groovy
153+
allprojects {
154+
repositories {
155+
maven { url 'https://artifactory.img.ly/artifactory/imgly' }
156+
}
157+
}
158+
```
101159

102160
4. 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"`:
103161
```groovy

RNPhotoEditorSDK.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 'PhotoEditorSDK', '~> 10.28'
21+
s.dependency 'PhotoEditorSDK', '~> 10.29'
2222
end

0 commit comments

Comments
 (0)