You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+22-1
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,24 @@
1
+
## [3.2.0]
2
+
3
+
### Changed
4
+
5
+
*[react-native-imglysdk] Updated `@expo/config-plugins` dependency to `7.2`.
6
+
*[react-native-photoeditorsdk] Raised minimum PhotoEditor SDK for iOS version to 11.9.0.
7
+
*[react-native-photoeditorsdk] Raised minimum PhotoEditor SDK for Android version to 10.9.0. See the [migration guide](https://img.ly/docs/pesdk/react-native/getting-started/migration-guides/3-2-0/) for more information.
8
+
*[react-native-videoeditorsdk] Raised minimum VideoEditor SDK for iOS version to 11.9.0.
9
+
*[react-native-videoeditorsdk] Raised minimum VideoEditor SDK for Android version to 10.9.0. See the [migration guide](https://img.ly/docs/vesdk/react-native/getting-started/migration-guides/3-2-0/) for more information.
*[react-native-videoeditorsdk] Added `VideoEditorResult` to types export.
15
+
*[react-native-photoeditorsdk] Added `PhotoEditorResult` to types export.
16
+
17
+
### Fixed
18
+
19
+
* Fixed compiling issues when using native customizations on iOS.
20
+
* Fixed potential crash on Android: `IllegalStateException "You need to use a Theme.AppCompat theme (or descendant) with this activity."`.
21
+
1
22
## [3.1.0]
2
23
3
24
### Added
@@ -117,7 +138,7 @@
117
138
118
139
### Changed
119
140
120
-
* 🚨 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.
141
+
* 🚨 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.
121
142
*[react-native-videoeditorsdk] Added support for VideoEditor SDK for Android version 9.
122
143
*[react-native-photoeditorsdk] Added support for PhotoEditor SDK for Android version 9.
Copy file name to clipboardexpand all lines: README.md
+22-40
Original file line number
Diff line number
Diff line change
@@ -27,30 +27,6 @@ Check out our [video tutorial](https://img.ly/blog/a-photo-and-video-editor-for-
27
27
28
28
## Getting started
29
29
30
-
### Known Issues
31
-
32
-
With version `2.13.0`, we recommend using `compileSdkVersion` not lower than `31` for Android. However, this might interfere with your application's Android Gradle Plugin version if this is set to `4.x`.
33
-
34
-
If you don't use a newer Android Gradle Plugin version, e.g., by updating at least to RN 0.68.0, you'll most likely encounter a build error similar to:
35
-
36
-
```
37
-
FAILURE: Build failed with an exception.
38
-
39
-
* What went wrong:
40
-
A problem occurred configuring project ':react-native-videoeditorsdk'.
41
-
> com.android.builder.errors.EvalIssueException: Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.
42
-
43
-
* Try:
44
-
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
45
-
46
-
* Get more help at https://help.gradle.org
47
-
```
48
-
49
-
As a workaround you can create the following symlinks:
50
-
51
-
1. Inside `/Users/YOUR-USERNAME/Library/Android/sdk/build-tools/31.0.0/`: Create a `dx` symlink for the `d8` file with `ln -s d8 dx`.
52
-
2. From there, go to `./lib/` and create a `dx.jar` symlink for the `d8.jar` file with `ln -s d8.jar dx.jar`.
53
-
54
30
### Expo CLI
55
31
56
32
#### Limitations
@@ -77,7 +53,9 @@ In order to use this module with the Expo CLI you can make use of our integrated
77
53
}
78
54
```
79
55
80
-
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. Furthermore, you can configure the `buildToolsVersion`, `minSdkVersion`, `compileSdkVersion`, `targetSdkVersion`, and `kotlinGradlePluginVersion`.
56
+
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. Further, you can alternate the KSP version with the `kspVersion` parameter based on the Kotlin version you are using. Please take a look [here](#android) on further details.
57
+
58
+
For Expo version < 45, you can configure the `buildToolsVersion`, `minSdkVersion`, `compileSdkVersion`, `targetSdkVersion`, and `kotlinGradlePluginVersion`. From version 45+ we recommend setting these properties using the `expo-build-properties` config plugin directly.
81
59
82
60
```json
83
61
{
@@ -86,18 +64,19 @@ In order to use this module with the Expo CLI you can make use of our integrated
86
64
"react-native-imglysdk",
87
65
{
88
66
"android": {
89
-
"version": "10.4.1",
67
+
"version": "10.9.0",
68
+
"kspVersion": "1.8.0-1.0.9",
90
69
"modules": [
91
70
"ui:core",
92
71
"ui:transform",
93
72
"ui:filter",
94
73
"assets:filter-basic"
95
74
],
96
-
"buildToolsVersion": "31.0.0",
75
+
"buildToolsVersion": "34.0.0",
97
76
"minSdkVersion": "21",
98
-
"compileSdkVersion": "31",
99
-
"targetSdkVersion": "30",
100
-
"kotlinGradlePluginVersion": "1.5.32"
77
+
"compileSdkVersion": "34",
78
+
"targetSdkVersion": "34",
79
+
"kotlinGradlePluginVersion": "1.8.0"
101
80
}
102
81
}
103
82
]
@@ -151,7 +130,7 @@ For older React Native versions autolinking is not available and VideoEditor SDK
151
130
152
131
#### Android
153
132
154
-
1. Add the img.ly repository and plugin by opening the `android/build.gradle` file (**not**`android/app/build.gradle`) and adding these lines at the top:
133
+
1. Add the IMG.LY repository and plugin by opening the `android/build.gradle` file (**not**`android/app/build.gradle`) and adding these lines at the top:
155
134
156
135
```groovy
157
136
buildscript {
@@ -160,13 +139,16 @@ For older React Native versions autolinking is not available and VideoEditor SDK
classpath 'com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:1.8.0-1.0.9' // KSP version is depending on your Kotlin version.
144
+
classpath 'ly.img.android.sdk:plugin:10.9.0'
165
145
}
166
146
}
167
147
```
168
148
169
-
In order to update VideoEditor SDK for Android replace the version string `10.4.1` with a [newer release](https://github.com/imgly/vesdk-android-demo/releases).
149
+
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).
150
+
151
+
In order to update VideoEditor SDK for Android replace the version string `10.9.0` with a [newer release](https://github.com/imgly/vesdk-android-demo/releases).
170
152
171
153
2. Still in the `android/build.gradle` file (**not**`android/app/build.gradle`), add these lines at the bottom:
172
154
@@ -178,18 +160,18 @@ For older React Native versions autolinking is not available and VideoEditor SDK
178
160
}
179
161
```
180
162
181
-
3. In the same file, you will need to modify the `minSdkVersion` to at least `21`. We also recommend to update the `buildToolsVersion` to `31.0.0` or higher as well as the `compileSdkVersion` to `31` or higher:
163
+
3. In the same file, you will need to modify the `minSdkVersion` to at least `21`. We also recommend to update the `buildToolsVersion` to `34.0.0` or higher as well as the `compileSdkVersion` to `34` or higher but this is not mandatory:
182
164
183
165
```diff
184
166
buildscript {
185
167
ext {
186
168
- buildToolsVersion = "30.0.2"
187
-
+ buildToolsVersion = "31.0.0"
169
+
+ buildToolsVersion = "34.0.0"
188
170
- minSdkVersion = 19
189
171
+ minSdkVersion = 21
190
-
- compileSdkVersion = 30
191
-
+ compileSdkVersion = 31
192
-
targetSdkVersion = 30
172
+
- compileSdkVersion = 34
173
+
+ compileSdkVersion = 34
174
+
targetSdkVersion = 34
193
175
}
194
176
}
195
177
```
@@ -201,7 +183,7 @@ For older React Native versions autolinking is not available and VideoEditor SDK
201
183
apply plugin: 'kotlin-android'
202
184
203
185
// Comment out the modules you don't need, to save size.
0 commit comments