@imgly/camera-react-native 1.59.0 → 1.61.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.
@@ -78,7 +78,7 @@ repositories {
78
78
  }
79
79
 
80
80
  dependencies {
81
- implementation findProject(":camera") ?: "ly.img:camera:1.59.0"
81
+ implementation findProject(":camera") ?: "ly.img:camera:1.61.0"
82
82
  implementation platform("androidx.compose:compose-bom:2023.05.01")
83
83
  implementation "androidx.activity:activity-compose:1.6.1"
84
84
  implementation "androidx.activity:activity:1.7.0"
@@ -142,7 +142,7 @@ class IMGLYCameraModule(
142
142
 
143
143
  /** Handles the activity result. */
144
144
  override fun onActivityResult(
145
- activity: Activity?,
145
+ activity: Activity,
146
146
  requestCode: Int,
147
147
  resultCode: Int,
148
148
  intent: Intent?,
@@ -170,7 +170,7 @@ class IMGLYCameraModule(
170
170
  }
171
171
  }
172
172
 
173
- override fun onNewIntent(intent: Intent?) {}
173
+ override fun onNewIntent(intent: Intent) {}
174
174
 
175
175
  operator fun WritableMap.set(
176
176
  id: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imgly/camera-react-native",
3
- "version": "1.59.0",
3
+ "version": "1.61.0",
4
4
  "description": "Camera SDK for React Native - provide a versatile video camera to your users on iOS and Android.",
5
5
  "react-native": "index.js",
6
6
  "source": "index.js",
@@ -31,6 +31,9 @@
31
31
  "author": "IMG.LY GmbH",
32
32
  "license": "SEE LICENSE IN LICENSE.md",
33
33
  "homepage": "https://img.ly",
34
+ "resolutions": {
35
+ "debug": "^4.0.0 <4.4.2 || >4.4.2"
36
+ },
34
37
  "peerDependencies": {
35
38
  "react": "*",
36
39
  "react-native": "*"