expo-image-picker 15.0.3 → 15.0.4

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.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 15.0.4 — 2024-05-01
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
13
17
  ## 15.0.3 — 2024-04-29
14
18
 
15
19
  ### 🎉 New features
@@ -1,7 +1,7 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
3
  group = 'host.exp.exponent'
4
- version = '15.0.3'
4
+ version = '15.0.4'
5
5
 
6
6
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
7
7
  apply from: expoModulesCorePlugin
@@ -14,7 +14,7 @@ android {
14
14
  namespace "expo.modules.imagepicker"
15
15
  defaultConfig {
16
16
  versionCode 22
17
- versionName "15.0.3"
17
+ versionName "15.0.4"
18
18
  }
19
19
  }
20
20
 
@@ -93,7 +93,7 @@ internal class MediaHandler(
93
93
  copyFile(sourceUri, outputFile, context.contentResolver)
94
94
  val outputUri = outputFile.toUri()
95
95
 
96
- return try {
96
+ try {
97
97
  val metadataRetriever = MediaMetadataRetriever().apply {
98
98
  setDataSource(context, outputUri)
99
99
  }
@@ -55,6 +55,7 @@ internal class CropImageContract(
55
55
  val result = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
56
56
  intent?.getParcelableExtra(CropImage.CROP_IMAGE_EXTRA_RESULT, CropImage.ActivityResult::class.java)
57
57
  } else {
58
+ @Suppress("DEPRECATION")
58
59
  intent?.getParcelableExtra(CropImage.CROP_IMAGE_EXTRA_RESULT)
59
60
  }
60
61
  if (resultCode == Activity.RESULT_CANCELED || result == null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-image-picker",
3
- "version": "15.0.3",
3
+ "version": "15.0.4",
4
4
  "description": "Provides access to the system's UI for selecting images and videos from the phone's library or taking a photo with the camera.",
5
5
  "main": "build/ImagePicker.js",
6
6
  "types": "build/ImagePicker.d.ts",
@@ -44,5 +44,5 @@
44
44
  "peerDependencies": {
45
45
  "expo": "*"
46
46
  },
47
- "gitHead": "4a7cf0d0baf6dfc595d93f604945d2142e705a36"
47
+ "gitHead": "87bd0dfa8b784a834191195ca174a00dd30ee5b7"
48
48
  }