expo-camera 14.1.0 → 14.1.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 CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 14.1.1 — 2024-03-13
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
13
17
  ## 14.1.0 — 2024-03-13
14
18
 
15
19
  ### 🐛 Bug fixes
@@ -23,6 +27,7 @@
23
27
  - Ensure `mute` prop is passed to native so it is correctly initialiased even when not provided from JS. ([#27546](https://github.com/expo/expo/pull/27546) by [@alanjhughes](https://github.com/alanjhughes))
24
28
  - On `iOS`, fix camera orientation on initial render. ([#27545](https://github.com/expo/expo/pull/27545) by [@alanjhughes](https://github.com/alanjhughes))
25
29
  - On `iOS`, fix an issue where the configuration can be interuppted when the dev menu is presented on intial launch. ([#27572](https://github.com/expo/expo/pull/27572) by [@alanjhughes](https://github.com/alanjhughes))
30
+ - On `iOS`, fix `getAvailablePictureSizes` in the legacy package. ([#27642](https://github.com/expo/expo/pull/27642) by [@alanjhughes](https://github.com/alanjhughes))
26
31
 
27
32
  ## 14.0.6 — 2024-03-07
28
33
 
@@ -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.1.0'
6
+ version = '14.1.1'
7
7
 
8
8
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
9
9
  if (expoModulesCorePlugin.exists()) {
@@ -94,7 +94,7 @@ android {
94
94
  namespace "expo.modules.camera"
95
95
  defaultConfig {
96
96
  versionCode 32
97
- versionName "14.1.0"
97
+ versionName "14.1.1"
98
98
  }
99
99
  }
100
100
 
@@ -201,7 +201,9 @@ public final class CameraViewModule: Module {
201
201
 
202
202
  AsyncFunction("getAvailablePictureSizes") { (_: String?, _: Int) in
203
203
  // Argument types must be compatible with Android which receives the ratio and view tag.
204
- return pictureSizesDict.keys
204
+ return pictureSizesDict.map { k, _ in
205
+ k
206
+ }
205
207
  }
206
208
 
207
209
  AsyncFunction("getAvailableVideoCodecsAsync") { () -> [String] in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-camera",
3
- "version": "14.1.0",
3
+ "version": "14.1.1",
4
4
  "description": "A React component that renders a preview for the device's either front or back camera. Camera's parameters like zoom, auto focus, white balance and flash mode are adjustable. With expo-camera, one can also take photos and record videos that are saved to the app's cache. Morever, the component is also capable of detecting faces and bar codes appearing on the preview.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -42,5 +42,5 @@
42
42
  "peerDependencies": {
43
43
  "expo": "*"
44
44
  },
45
- "gitHead": "d846eb40fc384b9e4b21260af2a990dfe79cf461"
45
+ "gitHead": "92a8238b975da99998251dadac1a51651a9a1810"
46
46
  }