@imgly/editor-react-native 1.59.0 → 1.60.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.59.0"
82
+ implementation findProject(":editor") ?: "ly.img:editor:1.60.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"
@@ -143,7 +143,7 @@ class IMGLYEditorModule(
143
143
  }
144
144
 
145
145
  override fun onActivityResult(
146
- activity: Activity?,
146
+ activity: Activity,
147
147
  requestCode: Int,
148
148
  resultCode: Int,
149
149
  intent: Intent?,
@@ -166,7 +166,7 @@ class IMGLYEditorModule(
166
166
  }
167
167
  }
168
168
 
169
- override fun onNewIntent(intent: Intent?) {}
169
+ override fun onNewIntent(intent: Intent) {}
170
170
 
171
171
  operator fun WritableMap.set(
172
172
  id: String,
@@ -65,6 +65,7 @@ extension OnCreate {
65
65
  withUploadAssetSources: true,
66
66
  )
67
67
  try await engine.asset.addSource(TextAssetSource(engine: engine))
68
+ try engine.asset.addSource(PhotoRollAssetSource(engine: engine))
68
69
  }
69
70
  }
70
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imgly/editor-react-native",
3
- "version": "1.59.0",
3
+ "version": "1.60.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",