@imgly/editor-react-native 1.61.0 → 1.62.0

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.
@@ -79,7 +79,7 @@ repositories {
79
79
  }
80
80
 
81
81
  dependencies {
82
- implementation findProject(":editor") ?: "ly.img:editor:1.61.0"
82
+ implementation findProject(":editor") ?: "ly.img:editor:1.62.0"
83
83
  implementation platform("androidx.compose:compose-bom:2023.05.01")
84
84
  implementation "androidx.activity:activity-compose:1.6.1"
85
85
  implementation "androidx.activity:activity:1.7.0"
@@ -21,6 +21,7 @@ import ly.img.editor.PostcardEditor
21
21
  import ly.img.editor.ShowLoading
22
22
  import ly.img.editor.ShowVideoExportProgressEvent
23
23
  import ly.img.editor.VideoEditor
24
+ import ly.img.editor.core.engine.addSystemGalleryAssetSources
24
25
  import ly.img.editor.core.event.EditorEventHandler
25
26
  import ly.img.editor.core.library.data.TextAssetSource
26
27
  import ly.img.editor.core.library.data.TypefaceProvider
@@ -344,6 +345,7 @@ object EditorBuilderDefaults {
344
345
  val isValid = isValidUri(Uri.parse(assetBaseUri))
345
346
  val baseUri = Uri.parse(if (isValid) assetBaseUri else "https://cdn.img.ly/assets/v4")
346
347
  engine.addDefaultAssetSources(baseUri = baseUri)
348
+ engine.addSystemGalleryAssetSources()
347
349
  val excluded = setOf(DemoAssetSource.IMAGE, DemoAssetSource.VIDEO, DemoAssetSource.AUDIO)
348
350
  engine.addDemoAssetSources(
349
351
  sceneMode = engine.scene.getMode(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imgly/editor-react-native",
3
- "version": "1.61.0",
3
+ "version": "1.62.0",
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",