expo-camera 16.1.2 → 16.1.3

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.
Files changed (38) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/android/build.gradle +2 -2
  3. package/expo-module.config.json +1 -1
  4. package/ios/Current/MetaDataDelegate.swift +3 -7
  5. package/local-maven-repo/host/exp/exponent/expo.modules.camera/{16.1.2/expo.modules.camera-16.1.2.module → 16.1.3/expo.modules.camera-16.1.3.module} +7 -7
  6. package/local-maven-repo/host/exp/exponent/expo.modules.camera/16.1.3/expo.modules.camera-16.1.3.module.md5 +1 -0
  7. package/local-maven-repo/host/exp/exponent/expo.modules.camera/16.1.3/expo.modules.camera-16.1.3.module.sha1 +1 -0
  8. package/local-maven-repo/host/exp/exponent/expo.modules.camera/16.1.3/expo.modules.camera-16.1.3.module.sha256 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.camera/16.1.3/expo.modules.camera-16.1.3.module.sha512 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.camera/{16.1.2/expo.modules.camera-16.1.2.pom → 16.1.3/expo.modules.camera-16.1.3.pom} +1 -1
  11. package/local-maven-repo/host/exp/exponent/expo.modules.camera/16.1.3/expo.modules.camera-16.1.3.pom.md5 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.camera/16.1.3/expo.modules.camera-16.1.3.pom.sha1 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.camera/16.1.3/expo.modules.camera-16.1.3.pom.sha256 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.camera/16.1.3/expo.modules.camera-16.1.3.pom.sha512 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml +4 -4
  16. package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml.md5 +1 -1
  17. package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml.sha1 +1 -1
  18. package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml.sha256 +1 -1
  19. package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml.sha512 +1 -1
  20. package/package.json +2 -2
  21. package/local-maven-repo/host/exp/exponent/expo.modules.camera/16.1.2/expo.modules.camera-16.1.2.module.md5 +0 -1
  22. package/local-maven-repo/host/exp/exponent/expo.modules.camera/16.1.2/expo.modules.camera-16.1.2.module.sha1 +0 -1
  23. package/local-maven-repo/host/exp/exponent/expo.modules.camera/16.1.2/expo.modules.camera-16.1.2.module.sha256 +0 -1
  24. package/local-maven-repo/host/exp/exponent/expo.modules.camera/16.1.2/expo.modules.camera-16.1.2.module.sha512 +0 -1
  25. package/local-maven-repo/host/exp/exponent/expo.modules.camera/16.1.2/expo.modules.camera-16.1.2.pom.md5 +0 -1
  26. package/local-maven-repo/host/exp/exponent/expo.modules.camera/16.1.2/expo.modules.camera-16.1.2.pom.sha1 +0 -1
  27. package/local-maven-repo/host/exp/exponent/expo.modules.camera/16.1.2/expo.modules.camera-16.1.2.pom.sha256 +0 -1
  28. package/local-maven-repo/host/exp/exponent/expo.modules.camera/16.1.2/expo.modules.camera-16.1.2.pom.sha512 +0 -1
  29. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{16.1.2/expo.modules.camera-16.1.2-sources.jar → 16.1.3/expo.modules.camera-16.1.3-sources.jar} +0 -0
  30. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{16.1.2/expo.modules.camera-16.1.2-sources.jar.md5 → 16.1.3/expo.modules.camera-16.1.3-sources.jar.md5} +0 -0
  31. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{16.1.2/expo.modules.camera-16.1.2-sources.jar.sha1 → 16.1.3/expo.modules.camera-16.1.3-sources.jar.sha1} +0 -0
  32. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{16.1.2/expo.modules.camera-16.1.2-sources.jar.sha256 → 16.1.3/expo.modules.camera-16.1.3-sources.jar.sha256} +0 -0
  33. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{16.1.2/expo.modules.camera-16.1.2-sources.jar.sha512 → 16.1.3/expo.modules.camera-16.1.3-sources.jar.sha512} +0 -0
  34. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{16.1.2/expo.modules.camera-16.1.2.aar → 16.1.3/expo.modules.camera-16.1.3.aar} +0 -0
  35. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{16.1.2/expo.modules.camera-16.1.2.aar.md5 → 16.1.3/expo.modules.camera-16.1.3.aar.md5} +0 -0
  36. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{16.1.2/expo.modules.camera-16.1.2.aar.sha1 → 16.1.3/expo.modules.camera-16.1.3.aar.sha1} +0 -0
  37. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{16.1.2/expo.modules.camera-16.1.2.aar.sha256 → 16.1.3/expo.modules.camera-16.1.3.aar.sha256} +0 -0
  38. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{16.1.2/expo.modules.camera-16.1.2.aar.sha512 → 16.1.3/expo.modules.camera-16.1.3.aar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 16.1.3 — 2025-04-21
14
+
15
+ ### 💡 Others
16
+
17
+ - [iOS] Remove unnecessary async calls. ([#36222](https://github.com/expo/expo/pull/36222) by [@alanjhughes](https://github.com/alanjhughes))
18
+
13
19
  ## 16.1.2 — 2025-04-14
14
20
 
15
21
  _This version does not introduce any user-facing changes._
@@ -4,13 +4,13 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '16.1.2'
7
+ version = '16.1.3'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.camera"
11
11
  defaultConfig {
12
12
  versionCode 32
13
- versionName "16.1.2"
13
+ versionName "16.1.3"
14
14
  }
15
15
  }
16
16
 
@@ -8,7 +8,7 @@
8
8
  "publication": {
9
9
  "groupId": "host.exp.exponent",
10
10
  "artifactId": "expo.modules.camera",
11
- "version": "16.1.2",
11
+ "version": "16.1.3",
12
12
  "repository": "local-maven-repo"
13
13
  }
14
14
  }
@@ -1,7 +1,7 @@
1
1
  import ZXingObjC
2
2
 
3
3
  protocol BarcodeScanningResponseHandler {
4
- func onScanningResult(_ result: [String: Any]) async
4
+ func onScanningResult(_ result: [String: Any])
5
5
  }
6
6
 
7
7
  class MetaDataDelegate: NSObject, AVCaptureMetadataOutputObjectsDelegate, AVCaptureVideoDataOutputSampleBufferDelegate {
@@ -44,9 +44,7 @@ class MetaDataDelegate: NSObject, AVCaptureMetadataOutputObjectsDelegate, AVCapt
44
44
 
45
45
  if let codeMetadata {
46
46
  if codeMetadata.stringValue != nil && codeMetadata.type == barcodeType {
47
- Task {
48
- await responseHandler.onScanningResult(BarcodeScannerUtils.avMetadataCodeObjectToDictionary(codeMetadata))
49
- }
47
+ self.responseHandler.onScanningResult(BarcodeScannerUtils.avMetadataCodeObjectToDictionary(codeMetadata))
50
48
  }
51
49
  }
52
50
  }
@@ -72,9 +70,7 @@ class MetaDataDelegate: NSObject, AVCaptureMetadataOutputObjectsDelegate, AVCapt
72
70
  if let videoFrame = CMSampleBufferGetImageBuffer(sampleBuffer),
73
71
  let videoFrameImage = ZXCGImageLuminanceSource.createImage(from: videoFrame) {
74
72
  self.scanBarcodes(from: videoFrameImage) { barcodeScannerResult in
75
- Task {
76
- await self.responseHandler.onScanningResult(BarcodeScannerUtils.zxResultToDictionary(barcodeScannerResult))
77
- }
73
+ self.responseHandler.onScanningResult(BarcodeScannerUtils.zxResultToDictionary(barcodeScannerResult))
78
74
  }
79
75
  }
80
76
  }
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.camera",
6
- "version": "16.1.2",
6
+ "version": "16.1.3",
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-16.1.2.aar",
44
- "url": "expo.modules.camera-16.1.2.aar",
43
+ "name": "expo.modules.camera-16.1.3.aar",
44
+ "url": "expo.modules.camera-16.1.3.aar",
45
45
  "size": 228497,
46
46
  "sha512": "f8b3332f0b42f7ecbfed9c9f32a69a2aea82780d2857463935cccc065e0854d9e2803c3f50e81b1b29dc2e25c3e18d3be8dcd5bfe1ad0dddcb2e2220decab4ec",
47
47
  "sha256": "0c696791038dec007a16a0ca903c822e261a18596877629e7fd3e1d8cde31255",
@@ -146,8 +146,8 @@
146
146
  ],
147
147
  "files": [
148
148
  {
149
- "name": "expo.modules.camera-16.1.2.aar",
150
- "url": "expo.modules.camera-16.1.2.aar",
149
+ "name": "expo.modules.camera-16.1.3.aar",
150
+ "url": "expo.modules.camera-16.1.3.aar",
151
151
  "size": 228497,
152
152
  "sha512": "f8b3332f0b42f7ecbfed9c9f32a69a2aea82780d2857463935cccc065e0854d9e2803c3f50e81b1b29dc2e25c3e18d3be8dcd5bfe1ad0dddcb2e2220decab4ec",
153
153
  "sha256": "0c696791038dec007a16a0ca903c822e261a18596877629e7fd3e1d8cde31255",
@@ -166,8 +166,8 @@
166
166
  },
167
167
  "files": [
168
168
  {
169
- "name": "expo.modules.camera-16.1.2-sources.jar",
170
- "url": "expo.modules.camera-16.1.2-sources.jar",
169
+ "name": "expo.modules.camera-16.1.3-sources.jar",
170
+ "url": "expo.modules.camera-16.1.3-sources.jar",
171
171
  "size": 27368,
172
172
  "sha512": "5e0aefbb0235dc66db0e00ea641d934deaedce2877181ead77beaf19e6a799a9757507737acfc7e7040ddacffc8ba4393780478de819cf654c36e2575a6228d3",
173
173
  "sha256": "1bd8f94c52d1f29c0b39f23ef631bcb0569baf08fa0efd6d36bd7f7dde8f3d94",
@@ -0,0 +1 @@
1
+ 203fee3070a3aa829c7dd394314688fcf0161ef9b7f6f38e43327889d78a7cfb
@@ -0,0 +1 @@
1
+ 01a1b8c89f154e1b5408836828819f633b8bd6e4dddbb9ee9254786ab7d03dfee4b508c8429129128e688fa5f30051ca017ea280197427bc32c7b26f94d15b5e
@@ -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>16.1.2</version>
12
+ <version>16.1.3</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
+ 44bdc0d9f78ecdc6e80be29b10ef76a7119b5b13e429b7957978cddd3e68a3af
@@ -0,0 +1 @@
1
+ cb283c413e5e7186547ecc92d7c00668ba6f0cae071c787b138a0328a961be93a3da8fae8d12228d97946b09914674d52a1f1230ff28fb074aa25bc7d6db8dd5
@@ -3,11 +3,11 @@
3
3
  <groupId>host.exp.exponent</groupId>
4
4
  <artifactId>expo.modules.camera</artifactId>
5
5
  <versioning>
6
- <latest>16.1.2</latest>
7
- <release>16.1.2</release>
6
+ <latest>16.1.3</latest>
7
+ <release>16.1.3</release>
8
8
  <versions>
9
- <version>16.1.2</version>
9
+ <version>16.1.3</version>
10
10
  </versions>
11
- <lastUpdated>20250414185045</lastUpdated>
11
+ <lastUpdated>20250421213312</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- f37320775a0fae2dbed90ec8d1cb48f9
1
+ da198d26346cf51feaff546d0d70ce52
@@ -1 +1 @@
1
- 9974a2cae0a29a8b0b067bcab5791ba8d7187b7d
1
+ a805b75a849e5610de6202cdcf77c507e52c085d
@@ -1 +1 @@
1
- 25cf0482fbaa990d8cc7a9b236144f625fecf8dac4eb7146b7b4a7981d579399
1
+ 40f843de3f99107ec3f52a369a47c998063f01d6df31190db2e779a2c7bf911a
@@ -1 +1 @@
1
- e3ae8b248bd95c30de24b4c57abf06ee6eaca15567903779cfd39286f1984ba8693d3aeafec64f4a3a8708fa904a8b9ffddfa547b00551b56da880e1e532cfb9
1
+ ac2600df262fe0625a524288bdd883236f976ab09668d03c75c26b695c911e2bd6326b158cf8e7b66e14027f3359a49a5dd65ac034bed97a13b8dfe50b5edce8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-camera",
3
- "version": "16.1.2",
3
+ "version": "16.1.3",
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",
@@ -50,5 +50,5 @@
50
50
  "optional": true
51
51
  }
52
52
  },
53
- "gitHead": "cb9fdd93f76f28e2ace4f66080b2386d87239553"
53
+ "gitHead": "f1394f21ff2719a9a3037d7511db170704e5c492"
54
54
  }
@@ -1 +0,0 @@
1
- 71b3d1c08c6a91637bb0efb2226ce1aa563e300228b4b936268670edc375a896
@@ -1 +0,0 @@
1
- 8ff04c8384c5fd0425af40e4da713971d0ad09a8d727b2eea4e730264ceeddf1b805df01efd1151a04e13ba5f2a043146792bb920ab422b05d3ea12e97d12dce
@@ -1 +0,0 @@
1
- 781cac57b52ff7c7c581c443b0822ae3ecf26c77
@@ -1 +0,0 @@
1
- 088b629c13662ccce195932a34272b906a49fafe117bdaf03250855d0600192e
@@ -1 +0,0 @@
1
- a53d5c365e02891a2f37b25d910d2a364a9fb63fd1c748077ce5c56ac4114cab12436336836f5124f40d972bb776832cf1c422083a6799ce76411cd130e8780f