expo-camera 15.0.13 → 15.0.14
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 +5 -0
- package/android/build.gradle +2 -2
- package/ios/Current/CameraView.swift +6 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -10,11 +10,16 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 15.0.14 — 2024-07-16
|
|
14
|
+
|
|
15
|
+
_This version does not introduce any user-facing changes._
|
|
16
|
+
|
|
13
17
|
## 15.0.13 — 2024-07-03
|
|
14
18
|
|
|
15
19
|
### 🐛 Bug fixes
|
|
16
20
|
|
|
17
21
|
- On `iOS`, fix calling `takePicture` from the simulator. ([#30103](https://github.com/expo/expo/pull/30103) by [@alanjhughes](https://github.com/alanjhughes))
|
|
22
|
+
- On `iOS`, fix touch interactions when using gesture handler. ([#30338](https://github.com/expo/expo/pull/30338) by [@alanjhughes](https://github.com/alanjhughes))
|
|
18
23
|
|
|
19
24
|
## 15.0.12 — 2024-06-20
|
|
20
25
|
|
package/android/build.gradle
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
apply plugin: 'com.android.library'
|
|
2
2
|
|
|
3
3
|
group = 'host.exp.exponent'
|
|
4
|
-
version = '15.0.
|
|
4
|
+
version = '15.0.14'
|
|
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.camera"
|
|
15
15
|
defaultConfig {
|
|
16
16
|
versionCode 32
|
|
17
|
-
versionName "15.0.
|
|
17
|
+
versionName "15.0.14"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -141,9 +141,12 @@ public class CameraView: ExpoView, EXCameraInterface, EXAppLifecycleListener,
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
private func setupPreview() {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
DispatchQueue.main.async {
|
|
145
|
+
self.previewLayer.videoPreviewLayer.session = self.session
|
|
146
|
+
self.previewLayer.videoPreviewLayer.videoGravity = .resizeAspectFill
|
|
147
|
+
self.previewLayer.videoPreviewLayer.needsDisplayOnBoundsChange = true
|
|
148
|
+
self.addSubview(self.previewLayer)
|
|
149
|
+
}
|
|
147
150
|
}
|
|
148
151
|
|
|
149
152
|
func initCamera() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-camera",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.14",
|
|
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": "
|
|
45
|
+
"gitHead": "b62618a8f99582621e1252c7a8013c62e1c6e013"
|
|
46
46
|
}
|