expo-camera 56.0.4 → 56.0.5
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/expo-module.config.json +1 -1
- package/ios/Current/BarcodeRecord.swift +1 -1
- package/ios/Current/BarcodeScanner.swift +15 -2
- package/ios/Current/MetaDataDelegate.swift +5 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/{56.0.4/expo.modules.camera-56.0.4.module → 56.0.5/expo.modules.camera-56.0.5.module} +7 -7
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/56.0.5/expo.modules.camera-56.0.5.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/56.0.5/expo.modules.camera-56.0.5.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/56.0.5/expo.modules.camera-56.0.5.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/56.0.5/expo.modules.camera-56.0.5.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/{56.0.4/expo.modules.camera-56.0.4.pom → 56.0.5/expo.modules.camera-56.0.5.pom} +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/56.0.5/expo.modules.camera-56.0.5.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/56.0.5/expo.modules.camera-56.0.5.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/56.0.5/expo.modules.camera-56.0.5.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/56.0.5/expo.modules.camera-56.0.5.pom.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml +4 -4
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml.sha512 +1 -1
- package/package.json +3 -3
- package/prebuilds/output/debug/xcframeworks/ExpoCamera.tar.gz +0 -0
- package/prebuilds/output/debug/xcframeworks/ExpoCameraBarcodeScanning.tar.gz +0 -0
- package/prebuilds/output/release/xcframeworks/ExpoCamera.tar.gz +0 -0
- package/prebuilds/output/release/xcframeworks/ExpoCameraBarcodeScanning.tar.gz +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/56.0.4/expo.modules.camera-56.0.4.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/56.0.4/expo.modules.camera-56.0.4.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/56.0.4/expo.modules.camera-56.0.4.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/56.0.4/expo.modules.camera-56.0.4.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/56.0.4/expo.modules.camera-56.0.4.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/56.0.4/expo.modules.camera-56.0.4.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/56.0.4/expo.modules.camera-56.0.4.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.camera/56.0.4/expo.modules.camera-56.0.4.pom.sha512 +0 -1
- package/plugin/tsconfig.tsbuildinfo +0 -1
- /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{56.0.4/expo.modules.camera-56.0.4-sources.jar → 56.0.5/expo.modules.camera-56.0.5-sources.jar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{56.0.4/expo.modules.camera-56.0.4-sources.jar.md5 → 56.0.5/expo.modules.camera-56.0.5-sources.jar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{56.0.4/expo.modules.camera-56.0.4-sources.jar.sha1 → 56.0.5/expo.modules.camera-56.0.5-sources.jar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{56.0.4/expo.modules.camera-56.0.4-sources.jar.sha256 → 56.0.5/expo.modules.camera-56.0.5-sources.jar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{56.0.4/expo.modules.camera-56.0.4-sources.jar.sha512 → 56.0.5/expo.modules.camera-56.0.5-sources.jar.sha512} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{56.0.4/expo.modules.camera-56.0.4.aar → 56.0.5/expo.modules.camera-56.0.5.aar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{56.0.4/expo.modules.camera-56.0.4.aar.md5 → 56.0.5/expo.modules.camera-56.0.5.aar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{56.0.4/expo.modules.camera-56.0.4.aar.sha1 → 56.0.5/expo.modules.camera-56.0.5.aar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{56.0.4/expo.modules.camera-56.0.4.aar.sha256 → 56.0.5/expo.modules.camera-56.0.5.aar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{56.0.4/expo.modules.camera-56.0.4.aar.sha512 → 56.0.5/expo.modules.camera-56.0.5.aar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 56.0.5 — 2026-05-13
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- [iOS] Fix `itf14` barcode type not detecting generic Interleaved 2 of 5 barcodes, so behavior matches Android's `FORMAT_ITF`. ([#44796](https://github.com/expo/expo/pull/44796) by [@mduchev](https://github.com/mduchev))
|
|
18
|
+
|
|
13
19
|
## 56.0.4 — 2026-05-13
|
|
14
20
|
|
|
15
21
|
### 💡 Others
|
package/android/build.gradle
CHANGED
|
@@ -4,7 +4,7 @@ plugins {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
group = 'host.exp.exponent'
|
|
7
|
-
version = '56.0.
|
|
7
|
+
version = '56.0.5'
|
|
8
8
|
|
|
9
9
|
def barcodeScannerEnabled = findProperty('expo.camera.barcode-scanner-enabled')
|
|
10
10
|
def isBarcodeScannerEnabled = (barcodeScannerEnabled ?: "true").toString() != "false"
|
|
@@ -13,7 +13,7 @@ android {
|
|
|
13
13
|
namespace "expo.modules.camera"
|
|
14
14
|
defaultConfig {
|
|
15
15
|
versionCode 32
|
|
16
|
-
versionName "56.0.
|
|
16
|
+
versionName "56.0.5"
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
package/expo-module.config.json
CHANGED
|
@@ -45,10 +45,22 @@ class BarcodeScanner: NSObject, BarcodeScanningResponseHandler {
|
|
|
45
45
|
|
|
46
46
|
func setSettings(_ newSettings: [String: [AVMetadataObject.ObjectType]]) {
|
|
47
47
|
for (key, value) in newSettings where key == BARCODE_TYPES_KEY {
|
|
48
|
+
// AVFoundation distinguishes `.itf14` (14-digit ITF) from `.interleaved2of5`
|
|
49
|
+
// (generic Interleaved 2 of 5), and sometimes reports a given barcode under
|
|
50
|
+
// either type. Android's ML Kit uses a single `FORMAT_ITF` for both. To mirror
|
|
51
|
+
// that behavior and avoid silently dropping detections, when `.itf14` is
|
|
52
|
+
// requested we also register `.interleaved2of5` so both variants are scanned
|
|
53
|
+
// for and the delegate's type-match succeeds. Results are normalized back to
|
|
54
|
+
// `itf14` by `BarcodeType.toBarcodeType(type:)`, called from
|
|
55
|
+
// `BarcodeScannerUtils.avMetadataCodeObjectToDictionary`.
|
|
56
|
+
var augmentedValue = value
|
|
57
|
+
if augmentedValue.contains(.itf14) && !augmentedValue.contains(.interleaved2of5) {
|
|
58
|
+
augmentedValue.append(.interleaved2of5)
|
|
59
|
+
}
|
|
48
60
|
let previousTypes = Set(settings[BARCODE_TYPES_KEY] ?? [])
|
|
49
|
-
let newTypes = Set(
|
|
61
|
+
let newTypes = Set(augmentedValue)
|
|
50
62
|
if previousTypes != newTypes {
|
|
51
|
-
settings[BARCODE_TYPES_KEY] =
|
|
63
|
+
settings[BARCODE_TYPES_KEY] = augmentedValue
|
|
52
64
|
if let barcodeProvider {
|
|
53
65
|
let supportedTypeSet = Set(barcodeProvider.supportedTypes)
|
|
54
66
|
let requestedRawValues = Set(newTypes.map { $0.rawValue })
|
|
@@ -56,6 +68,7 @@ class BarcodeScanner: NSObject, BarcodeScanningResponseHandler {
|
|
|
56
68
|
} else {
|
|
57
69
|
barcodeProviderEnabled = false
|
|
58
70
|
}
|
|
71
|
+
delegate?.updateSettings(settings, barcodeProviderEnabled: barcodeProviderEnabled)
|
|
59
72
|
maybeStartBarcodeScanning()
|
|
60
73
|
}
|
|
61
74
|
}
|
|
@@ -26,6 +26,11 @@ class MetaDataDelegate: NSObject, AVCaptureMetadataOutputObjectsDelegate, AVCapt
|
|
|
26
26
|
self.barcodeProvider = barcodeProvider
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
func updateSettings(_ settings: [String: [AVMetadataObject.ObjectType]], barcodeProviderEnabled: Bool) {
|
|
30
|
+
self.settings = settings
|
|
31
|
+
self.barcodeProviderEnabled = barcodeProviderEnabled
|
|
32
|
+
}
|
|
33
|
+
|
|
29
34
|
func metadataOutput(_ output: AVCaptureMetadataOutput, didOutput metadataObjects: [AVMetadataObject], from connection: AVCaptureConnection) {
|
|
30
35
|
guard let settings = settings[BARCODE_TYPES_KEY] else {
|
|
31
36
|
return
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "host.exp.exponent",
|
|
5
5
|
"module": "expo.modules.camera",
|
|
6
|
-
"version": "56.0.
|
|
6
|
+
"version": "56.0.5",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
],
|
|
41
41
|
"files": [
|
|
42
42
|
{
|
|
43
|
-
"name": "expo.modules.camera-56.0.
|
|
44
|
-
"url": "expo.modules.camera-56.0.
|
|
43
|
+
"name": "expo.modules.camera-56.0.5.aar",
|
|
44
|
+
"url": "expo.modules.camera-56.0.5.aar",
|
|
45
45
|
"size": 270633,
|
|
46
46
|
"sha512": "637c03d540b89884662202f29d475469ed5ee0b807134c899289652c9ae03ef5fca3d69c0eb15da09d8b13765b12b21bbb7bdf41a234aace6c7cd546b9ed427b",
|
|
47
47
|
"sha256": "fe2ac229ce3e52d901327cb9ac77de52dd63c2d7cb60776006ce9c8db390006a",
|
|
@@ -167,8 +167,8 @@
|
|
|
167
167
|
],
|
|
168
168
|
"files": [
|
|
169
169
|
{
|
|
170
|
-
"name": "expo.modules.camera-56.0.
|
|
171
|
-
"url": "expo.modules.camera-56.0.
|
|
170
|
+
"name": "expo.modules.camera-56.0.5.aar",
|
|
171
|
+
"url": "expo.modules.camera-56.0.5.aar",
|
|
172
172
|
"size": 270633,
|
|
173
173
|
"sha512": "637c03d540b89884662202f29d475469ed5ee0b807134c899289652c9ae03ef5fca3d69c0eb15da09d8b13765b12b21bbb7bdf41a234aace6c7cd546b9ed427b",
|
|
174
174
|
"sha256": "fe2ac229ce3e52d901327cb9ac77de52dd63c2d7cb60776006ce9c8db390006a",
|
|
@@ -187,8 +187,8 @@
|
|
|
187
187
|
},
|
|
188
188
|
"files": [
|
|
189
189
|
{
|
|
190
|
-
"name": "expo.modules.camera-56.0.
|
|
191
|
-
"url": "expo.modules.camera-56.0.
|
|
190
|
+
"name": "expo.modules.camera-56.0.5-sources.jar",
|
|
191
|
+
"url": "expo.modules.camera-56.0.5-sources.jar",
|
|
192
192
|
"size": 28209,
|
|
193
193
|
"sha512": "9ed0d19dd71703067089542f01795ddf07b581cd745cda6bd89d4125c3a31e19fd283f9e7ce47d83a2ee13470ef37ca0a3ff688796ad9970e7805a3e0c1fb42c",
|
|
194
194
|
"sha256": "a200687bd96e181fe03a9b208c5fcd35d98e8924c9e170f242c8048be21bc21e",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
df5f5cccd770901d845d71b56b491a60
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
78cb28fc0a825a9d974d96f00c0da75822c84620
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
d3e965273abd027b69ddb0aa39b3830adff0254f2222ca3de83335fd4ef1f335
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
901f05a2e01184f4272c6f1f4e29f8abf02f9543091b07aa410976ed1f39fc32016b1e9c0febe33b639bd480afebe45f1993481e76d2f6536c98c80ab9b444db
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>host.exp.exponent</groupId>
|
|
11
11
|
<artifactId>expo.modules.camera</artifactId>
|
|
12
|
-
<version>56.0.
|
|
12
|
+
<version>56.0.5</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.camera</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ba90292b8287bb8a19039bf8929f7bd7
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
18ef6d6f7fe3f330fbd0af7437b2af2781a22efc
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
62cb0dc91d8d238e85cc6c7c14d02dbbe196d51455abc55d61660dd926fd3a52
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
e48f4984ef0c02cbec2a95b785eac58016c4fb6ea10e1f82ae80b2dff76bf325a0ced4808cb68f8a5544b38b6236f52d04e9e8a6ae871ed36446024a5fd88b33
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>host.exp.exponent</groupId>
|
|
4
4
|
<artifactId>expo.modules.camera</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>56.0.
|
|
7
|
-
<release>56.0.
|
|
6
|
+
<latest>56.0.5</latest>
|
|
7
|
+
<release>56.0.5</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>56.0.
|
|
9
|
+
<version>56.0.5</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20260513235020</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0a9f19b1456b5a72ce5d23929fd743af
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
eb992db684ea1d30f9750a849db744a73223d8df
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
46958af62aaf8e5fae4217c034b6e1d0273bce7b5ecf0f5df23d2b5fd431d01b
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c9dc6f9ce4732333df6936dfac7e74947a5998881deeaa8d5bceb0295e6960ca90188e38bb4c139a19eb341be7a060c02ba73996e16c9d78d16a0974e5e03b18
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-camera",
|
|
3
|
-
"version": "56.0.
|
|
3
|
+
"version": "56.0.5",
|
|
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",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/react": "~19.2.0",
|
|
32
32
|
"@types/node": "^22.14.0",
|
|
33
|
-
"expo": "56.0.0-preview.
|
|
33
|
+
"expo": "56.0.0-preview.11",
|
|
34
34
|
"expo-module-scripts": "56.0.2"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"optional": true
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "51c27fce31a5b3a877a4b05d832dabf4a99db5e1",
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "expo-module build",
|
|
50
50
|
"clean": "expo-module clean",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
e9452ad4709d0852e55ed24070d23e25
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
632882034e0af259219b103c742ea17ddb54948e
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
e9805cd5804b8404c82bdadf2dfc4f313ce123a75f1da08e23f078d3522a0d8d
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
360bb40e0dfa65c31806f8882a42184383c52aa21c8f8309bab55bf216a7c447ce0316e6688298e8212c3a0c6aa6cfadd406b23d412d97f65b0a1e2ae2fb34e7
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
9141992d15589c91d8b98037f63a6eb0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f77f58a1bae2e8faaedccbd094d849dde58b394e
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f846d01412a9c150f7429f5e6d2604e2ba9fcc0bc29d5d91dd4669c563d469dd
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0fb7a2c9ae6ec38cdd81d8ef5fd1d8a138aaeffc22a3bfd8818d03c9341f9d854beed403c53dd3fa09786b059d4469ff950ba0dcb6a75bfb90fa6d959db4e0a7
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"root":["./src/index.ts","./src/withcamera.ts"],"version":"6.0.3"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|