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
*[iOS] Updated VideoEditor SDK for iOS to version 10.7.0 and above.
6
+
7
+
### Fixed
8
+
9
+
*[iOS] Fixed automatic (CocoaPods) installation process so that VideoEditor SDK and PhotoEditor SDK can be used in the same project.
10
+
*[iOS] Fixed `FRAMEWORK_SEARCH_PATHS` for manual linking VideoEditor SDK which is required for React Native versions older than 0.60.
11
+
* Add missing `Platform` import when using React Native versions older than 0.60.
12
+
1
13
## [2.0.1]
2
14
3
15
### Fixed
4
-
* Package size is to big
5
-
* "tools: replace" attribute that is linked to the "provider" element type is not bound.
16
+
17
+
*[Android] Fixed error message: "tools: replace" attribute that is linked to the "provider" element type is not bound.
6
18
7
19
## [2.0.0]
8
20
9
21
### Added
10
22
11
-
* Added support for PhotoEditor SDK Android version 7.1.4 and above.
23
+
*[Android]Added support for VideoEditor SDK for Android version 7.1.5 and above.
12
24
13
25
## [1.3.0]
14
26
15
27
### Changed
16
28
17
-
* Updated VideoEditor SDK for iOS to version 10.6.0.
29
+
*[iOS]Updated VideoEditor SDK for iOS to version 10.6.0.
18
30
19
31
## [1.2.0]
20
32
21
33
### Changed
22
34
23
-
* Updated VideoEditor SDK for iOS to version 10.5.0.
35
+
*[iOS]Updated VideoEditor SDK for iOS to version 10.5.0.
24
36
25
37
## [1.1.0]
26
38
27
39
### Added
28
40
29
-
* Updated VideoEditor SDK for iOS to version 10.4.0.
41
+
*[iOS]Updated VideoEditor SDK for iOS to version 10.4.0.
30
42
* Added configuration options for personal stickers.
31
43
32
44
## [1.0.2]
33
45
34
46
### Fixed
35
47
36
-
* Fixed `unlockWithLicense`.
48
+
*[iOS]Fixed `unlockWithLicense`.
37
49
38
50
## [1.0.0]
39
51
40
52
### Added
41
53
42
-
* 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.
54
+
*[iOS]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.
Install the React Native module in your project as follows:
20
+
21
+
```sh
22
+
yarn add react-native-videoeditorsdk
36
23
```
37
24
38
-
For more information about what Multidex is, have a look here: https://developer.android.com/studio/build/multidex
39
-
40
-
### 2. Add the img.ly Repository and Plugin. Open the _android/build.gradle_ file (notandroid/app/build.gradle) and add these lines at the top of the file:
For React Native 0.60 and above [autolinking](https://github.com/react-native-community/cli/blob/master/docs/autolinking.md) is used and VideoEditor SDK for iOS should be automatically installed:
28
+
29
+
```sh
30
+
cd ios && pod install &&cd ..
54
31
```
55
32
56
-
3. Open the `android/app/build.gradle`file _(notandroid/build.gradle)_.
57
-
And add these lines under `apply plugin: "com.android.application"`
58
-
```groovy
59
-
apply plugin: "com.android.application"
60
-
61
-
apply plugin: 'ly.img.android.sdk'
62
-
apply plugin: 'kotlin-android'
63
-
64
-
// Comment out the modules you don't need, to save size.
65
-
imglyConfig {
66
-
modules {
67
-
include 'ui:text'
68
-
include 'ui:focus'
69
-
include 'ui:frame'
70
-
include 'ui:brush'
71
-
include 'ui:filter'
72
-
include 'ui:sticker'
73
-
include 'ui:overlay'
74
-
include 'ui:transform'
75
-
include 'ui:adjustment'
76
-
include 'ui:text-design'
77
-
include 'ui:video-trim'
78
-
79
-
// This module is big, remove the serializer if you don't need that feature.
80
-
include 'backend:serializer'
81
-
82
-
// Remove the asset packs you don't need, these are also big in size.
83
-
include 'assets:font-basic'
84
-
include 'assets:frame-basic'
85
-
include 'assets:filter-basic'
86
-
include 'assets:overlay-basic'
87
-
include 'assets:sticker-shapes'
88
-
include 'assets:sticker-emoticons'
89
-
}
90
-
}
33
+
and updated:
34
+
35
+
```sh
36
+
cd ios && pod update &&cd ..
91
37
```
92
38
93
-
## Getting started
39
+
with CocoaPods.
94
40
95
-
Install the module with [autolinking](https://github.com/react-native-community/cli/blob/master/docs/autolinking.md) as follows:
41
+
For older React Native versions autolinking is not available and VideoEditor SDK for iOS needs to be [manually integrated](https://docs.videoeditorsdk.com/guides/ios/v10/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 `VideoEditorSDK.framework` in the `ios/` directory of your project. Finally, [link the native dependencies](https://facebook.github.io/react-native/docs/0.59/linking-libraries-ios#step-2) with:
96
42
97
43
```sh
98
-
# install
99
-
yarn add react-native-videoeditorsdk
100
-
cd ios && pod install && cd .. # CocoaPods on iOS needs this extra step
101
-
# run
102
-
yarn react-native run-ios
44
+
yarn react-native link
103
45
```
104
46
47
+
### Android
48
+
49
+
1. Because VideoEditor 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:
50
+
51
+
1. Open the `android/app/build.gradle` file (**not**`android/build.gradle`) and add these lines at the end:
52
+
```groovy
53
+
android {
54
+
defaultConfig {
55
+
multiDexEnabled true
56
+
}
57
+
}
58
+
dependencies {
59
+
implementation 'androidx.multidex:multidex:2.0.1'
60
+
}
61
+
```
62
+
2. Open the `android/app/src/main/java/.../MainApplication.java` file and change the superclass of your `MainApplication` class from `Application` to `androidx.multidex.MultiDexApplication`, e.g.:
63
+
```java
64
+
public class MainApplication extends androidx.multidex.MultiDexApplication implements ReactApplication {
65
+
```
66
+
67
+
2. 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:
In order to update VideoEditor SDK for Android replace the version string `7.1.5` with a [newer release](https://github.com/imgly/vesdk-android-demo/releases).
82
+
83
+
3. Configure VideoEditor 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"`:
84
+
```groovy
85
+
apply plugin: 'ly.img.android.sdk'
86
+
apply plugin: 'kotlin-android'
87
+
88
+
// Comment out the modules you don't need, to save size.
89
+
imglyConfig {
90
+
modules {
91
+
include 'ui:text'
92
+
include 'ui:focus'
93
+
include 'ui:frame'
94
+
include 'ui:brush'
95
+
include 'ui:filter'
96
+
include 'ui:sticker'
97
+
include 'ui:overlay'
98
+
include 'ui:transform'
99
+
include 'ui:adjustment'
100
+
include 'ui:text-design'
101
+
include 'ui:video-trim'
102
+
103
+
// This module is big, remove the serializer if you don't need that feature.
104
+
include 'backend:serializer'
105
+
106
+
// Remove the asset packs you don't need, these are also big in size.
0 commit comments