@imgly/editor-react-native 1.76.0 → 1.76.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,6 +13,27 @@ Pod::Spec.new do |s|
|
|
|
13
13
|
s.author = package['author']
|
|
14
14
|
s.source = { path: './ios' }
|
|
15
15
|
|
|
16
|
+
# In the monorepo, copy starter kit sources from the shared location.
|
|
17
|
+
# Walk up from __dir__ to find the monorepo root (.ubq-version marker),
|
|
18
|
+
# matching the Android approach in starter-kits-local.gradle.
|
|
19
|
+
ubq_root = nil
|
|
20
|
+
current_dir = File.expand_path(__dir__)
|
|
21
|
+
while current_dir != '/'
|
|
22
|
+
if File.exist?(File.join(current_dir, '.ubq-version'))
|
|
23
|
+
ubq_root = current_dir
|
|
24
|
+
break
|
|
25
|
+
end
|
|
26
|
+
current_dir = File.dirname(current_dir)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
if ubq_root
|
|
30
|
+
copy_script = File.join(ubq_root, 'apps', 'cesdk_swift_examples',
|
|
31
|
+
'starter-kits', 'copy_starter_kits_source_files.sh')
|
|
32
|
+
if File.executable?(copy_script)
|
|
33
|
+
system('bash', copy_script, File.join(__dir__, 'ios', 'StarterKits'))
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
|
|
16
37
|
s.source_files = 'ios/**/*.{h,m,mm,swift}'
|
|
17
38
|
s.exclude_files = 'ios/StarterKits/**/*StarterKit.swift'
|
|
18
39
|
s.resources = 'ios/StarterKits/*.{scene,png}'
|
package/android/build.gradle
CHANGED
|
@@ -96,6 +96,10 @@ apply plugin: 'com.android.library'
|
|
|
96
96
|
apply plugin: 'com.facebook.react'
|
|
97
97
|
apply plugin: 'org.jetbrains.kotlin.android'
|
|
98
98
|
|
|
99
|
+
def starterKitsGradleFilePath = "$projectDir/../../../../../../cesdk_android_showcases/starter-kits/starter-kits-local.gradle"
|
|
100
|
+
if (file(starterKitsGradleFilePath).exists()) {
|
|
101
|
+
apply from: starterKitsGradleFilePath
|
|
102
|
+
}
|
|
99
103
|
|
|
100
104
|
if (isKotlin2OrHigher()) {
|
|
101
105
|
try {
|
|
@@ -143,7 +147,7 @@ repositories {
|
|
|
143
147
|
}
|
|
144
148
|
|
|
145
149
|
dependencies {
|
|
146
|
-
api "ly.img:editor:1.76.
|
|
150
|
+
api "ly.img:editor:1.76.1"
|
|
147
151
|
|
|
148
152
|
implementation "androidx.activity:activity-ktx:1.9.0"
|
|
149
153
|
implementation "androidx.appcompat:appcompat:1.7.1"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imgly/editor-react-native",
|
|
3
|
-
"version": "1.76.
|
|
3
|
+
"version": "1.76.1",
|
|
4
4
|
"description": "CreativeEditor SDK for React Native - enable photo, video and design editing for your users on iOS and Android.",
|
|
5
5
|
"react-native": "index.js",
|
|
6
6
|
"source": "index.js",
|
package/src/NativeIMGLYEditor.ts
CHANGED
|
@@ -96,7 +96,7 @@ export class EditorSettingsModel implements EditorSettings {
|
|
|
96
96
|
* sources (stickers, filters, and more).
|
|
97
97
|
*/
|
|
98
98
|
baseUri: string =
|
|
99
|
-
'https://cdn.img.ly/packages/imgly/cesdk-react-native/1.76.
|
|
99
|
+
'https://cdn.img.ly/packages/imgly/cesdk-react-native/1.76.1/assets';
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* Unique ID tied to your application's user.
|