expo-image-picker 14.0.0 → 14.0.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.
- package/CHANGELOG.md +6 -0
- package/android/build.gradle +2 -2
- package/ios/MediaHandler.swift +2 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 14.0.1 — 2022-11-08
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- Fix incorrect asset type for videos on iOS. ([#19932](https://github.com/expo/expo/pull/19932) by [@tsapeta](https://github.com/tsapeta))
|
|
18
|
+
|
|
13
19
|
## 14.0.0 — 2022-10-25
|
|
14
20
|
|
|
15
21
|
### 🛠 Breaking changes
|
package/android/build.gradle
CHANGED
|
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
|
|
|
3
3
|
apply plugin: 'maven-publish'
|
|
4
4
|
|
|
5
5
|
group = 'host.exp.exponent'
|
|
6
|
-
version = '14.0.
|
|
6
|
+
version = '14.0.1'
|
|
7
7
|
|
|
8
8
|
buildscript {
|
|
9
9
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
@@ -74,7 +74,7 @@ android {
|
|
|
74
74
|
minSdkVersion safeExtGet("minSdkVersion", 21)
|
|
75
75
|
targetSdkVersion safeExtGet("targetSdkVersion", 31)
|
|
76
76
|
versionCode 22
|
|
77
|
-
versionName "14.0.
|
|
77
|
+
versionName "14.0.1"
|
|
78
78
|
}
|
|
79
79
|
lintOptions {
|
|
80
80
|
abortOnError false
|
package/ios/MediaHandler.swift
CHANGED
|
@@ -186,6 +186,7 @@ internal struct MediaHandler {
|
|
|
186
186
|
let fileName = asset?.value(forKey: "filename") as? String
|
|
187
187
|
let fileSize = getFileSize(from: targetUrl)
|
|
188
188
|
let videoInfo = AssetInfo(assetId: asset?.localIdentifier,
|
|
189
|
+
type: "video",
|
|
189
190
|
uri: targetUrl.absoluteString,
|
|
190
191
|
width: dimensions.width,
|
|
191
192
|
height: dimensions.height,
|
|
@@ -269,6 +270,7 @@ internal struct MediaHandler {
|
|
|
269
270
|
let fileSize = getFileSize(from: videoUrl)
|
|
270
271
|
|
|
271
272
|
let result = AssetInfo(assetId: assetId,
|
|
273
|
+
type: "video",
|
|
272
274
|
uri: videoUrl.absoluteString,
|
|
273
275
|
width: size.width,
|
|
274
276
|
height: size.height,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-image-picker",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.1",
|
|
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",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"expo": "*"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "4cfefb886fd394c376290f24dabf987cdd6e6ca0"
|
|
49
49
|
}
|