expo-camera 17.1.0-canary-20251216-6e1f9a7 → 17.1.0-canary-20251216-3f01dbf

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 (39) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/android/build.gradle +2 -2
  3. package/expo-module.config.json +1 -1
  4. package/ios/CameraViewModule.swift +4 -4
  5. package/ios/Common/ExpoCameraUtils.swift +2 -2
  6. package/local-maven-repo/host/exp/exponent/expo.modules.camera/{17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.module → 17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf.module} +7 -7
  7. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf.module.md5 +1 -0
  8. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf.module.sha1 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf.module.sha256 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf.module.sha512 +1 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.camera/{17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.pom → 17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf.pom} +1 -1
  12. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf.pom.md5 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf.pom.sha1 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf.pom.sha256 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf.pom.sha512 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml +4 -4
  17. package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml.md5 +1 -1
  18. package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml.sha1 +1 -1
  19. package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml.sha256 +1 -1
  20. package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml.sha512 +1 -1
  21. package/package.json +3 -3
  22. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.module.md5 +0 -1
  23. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.module.sha1 +0 -1
  24. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.module.sha256 +0 -1
  25. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.module.sha512 +0 -1
  26. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.pom.md5 +0 -1
  27. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.pom.sha1 +0 -1
  28. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.pom.sha256 +0 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.pom.sha512 +0 -1
  30. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7-sources.jar → 17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf-sources.jar} +0 -0
  31. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7-sources.jar.md5 → 17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf-sources.jar.md5} +0 -0
  32. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7-sources.jar.sha1 → 17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf-sources.jar.sha1} +0 -0
  33. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7-sources.jar.sha256 → 17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf-sources.jar.sha256} +0 -0
  34. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7-sources.jar.sha512 → 17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf-sources.jar.sha512} +0 -0
  35. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.aar → 17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf.aar} +0 -0
  36. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.aar.md5 → 17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf.aar.md5} +0 -0
  37. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.aar.sha1 → 17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf.aar.sha1} +0 -0
  38. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.aar.sha256 → 17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf.aar.sha256} +0 -0
  39. /package/local-maven-repo/host/exp/exponent/expo.modules.camera/{17.1.0-canary-20251216-6e1f9a7/expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.aar.sha512 → 17.1.0-canary-20251216-3f01dbf/expo.modules.camera-17.1.0-canary-20251216-3f01dbf.aar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -12,6 +12,7 @@
12
12
 
13
13
  - [Android] Fix certain exif keys being dropped because of invalid values. ([#41043](https://github.com/expo/expo/pull/41043) by [@alanjhughes](https://github.com/alanjhughes))
14
14
  - [Android] Fix camera not being recreated on the old architecture. ([#41405](https://github.com/expo/expo/pull/41405) by [@alanjhughes](https://github.com/alanjhughes))
15
+ - [iOS] Return correct size information when using image refs. ([#41658](https://github.com/expo/expo/pull/41658) by [@alanjhughes](https://github.com/alanjhughes))
15
16
 
16
17
  ### 💡 Others
17
18
 
@@ -4,7 +4,7 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '17.1.0-canary-20251216-6e1f9a7'
7
+ version = '17.1.0-canary-20251216-3f01dbf'
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 "17.1.0-canary-20251216-6e1f9a7"
16
+ versionName "17.1.0-canary-20251216-3f01dbf"
17
17
  }
18
18
  }
19
19
 
@@ -8,7 +8,7 @@
8
8
  "publication": {
9
9
  "groupId": "host.exp.exponent",
10
10
  "artifactId": "expo.modules.camera",
11
- "version": "17.1.0-canary-20251216-6e1f9a7",
11
+ "version": "17.1.0-canary-20251216-3f01dbf",
12
12
  "repository": "local-maven-repo"
13
13
  }
14
14
  }
@@ -306,12 +306,12 @@ public final class CameraViewModule: Module, ScannerResultHandler {
306
306
  }
307
307
 
308
308
  Class("Picture", PictureRef.self) {
309
- Property("width") { (image: PictureRef) -> Int in
310
- return image.ref.cgImage?.width ?? 0
309
+ Property("width") { (image: PictureRef) -> CGFloat in
310
+ return image.ref.size.width
311
311
  }
312
312
 
313
- Property("height") { (image: PictureRef) -> Int in
314
- return image.ref.cgImage?.height ?? 0
313
+ Property("height") { (image: PictureRef) -> CGFloat in
314
+ return image.ref.size.height
315
315
  }
316
316
 
317
317
  AsyncFunction("savePictureAsync") { (image: PictureRef, options: SavePictureOptions?) -> [String: Any?] in
@@ -249,8 +249,8 @@ struct ExpoCameraUtils {
249
249
  }
250
250
 
251
251
  result["url"] = fileUrl.absoluteString
252
- result["width"] = image.cgImage?.width ?? 0
253
- result["height"] = image.cgImage?.height ?? 0
252
+ result["width"] = image.size.width
253
+ result["height"] = image.size.height
254
254
  result["base64"] = options.base64 ? data.base64EncodedString() : nil
255
255
 
256
256
  do {
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.camera",
6
- "version": "17.1.0-canary-20251216-6e1f9a7",
6
+ "version": "17.1.0-canary-20251216-3f01dbf",
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-17.1.0-canary-20251216-6e1f9a7.aar",
44
- "url": "expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.aar",
43
+ "name": "expo.modules.camera-17.1.0-canary-20251216-3f01dbf.aar",
44
+ "url": "expo.modules.camera-17.1.0-canary-20251216-3f01dbf.aar",
45
45
  "size": 243059,
46
46
  "sha512": "34842c0f2474c5f526ee4c37ff51cf025add5aa30827b6c2be05ea1a1e7bce3260913e8b06bb5b26e829fc0a124ab5b48e99357fe3aa107bfe9f3b6cb6aed541",
47
47
  "sha256": "06b60462b45bd8b848c452431f3407429969f5fad5b2c9c412f88e227ace53b6",
@@ -146,8 +146,8 @@
146
146
  ],
147
147
  "files": [
148
148
  {
149
- "name": "expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.aar",
150
- "url": "expo.modules.camera-17.1.0-canary-20251216-6e1f9a7.aar",
149
+ "name": "expo.modules.camera-17.1.0-canary-20251216-3f01dbf.aar",
150
+ "url": "expo.modules.camera-17.1.0-canary-20251216-3f01dbf.aar",
151
151
  "size": 243059,
152
152
  "sha512": "34842c0f2474c5f526ee4c37ff51cf025add5aa30827b6c2be05ea1a1e7bce3260913e8b06bb5b26e829fc0a124ab5b48e99357fe3aa107bfe9f3b6cb6aed541",
153
153
  "sha256": "06b60462b45bd8b848c452431f3407429969f5fad5b2c9c412f88e227ace53b6",
@@ -166,8 +166,8 @@
166
166
  },
167
167
  "files": [
168
168
  {
169
- "name": "expo.modules.camera-17.1.0-canary-20251216-6e1f9a7-sources.jar",
170
- "url": "expo.modules.camera-17.1.0-canary-20251216-6e1f9a7-sources.jar",
169
+ "name": "expo.modules.camera-17.1.0-canary-20251216-3f01dbf-sources.jar",
170
+ "url": "expo.modules.camera-17.1.0-canary-20251216-3f01dbf-sources.jar",
171
171
  "size": 28741,
172
172
  "sha512": "fbb84bc27ac0cd27cc2675627ce2065c98e46b8063ff1b2768798364e2642000549dc4b169600a132cd20b8b16c1b554931fbdd1ac773254244b27f2b5c7d0cf",
173
173
  "sha256": "88d428131a1429ac059e1411f55e2329e376706f09d0de81294c7e7332ff6ed5",
@@ -0,0 +1 @@
1
+ 91eacc463ec6667ba707f3b4ec58e6aba0c32cb0a7e6bd2e19fc9c5a9e22d43fd29ffece880fb87fc94d30eaa194c3f3ee2de8264b9ce79f7c9e959427252371
@@ -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>17.1.0-canary-20251216-6e1f9a7</version>
12
+ <version>17.1.0-canary-20251216-3f01dbf</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
+ d1a98eb63715d78d451ea3de45495fdf44ceba1975c9f7edb6535f8b4f56d7eb373c0aabc8416df38b68b726227080280c59a9afe04d7d16080b11646209213a
@@ -3,11 +3,11 @@
3
3
  <groupId>host.exp.exponent</groupId>
4
4
  <artifactId>expo.modules.camera</artifactId>
5
5
  <versioning>
6
- <latest>17.1.0-canary-20251216-6e1f9a7</latest>
7
- <release>17.1.0-canary-20251216-6e1f9a7</release>
6
+ <latest>17.1.0-canary-20251216-3f01dbf</latest>
7
+ <release>17.1.0-canary-20251216-3f01dbf</release>
8
8
  <versions>
9
- <version>17.1.0-canary-20251216-6e1f9a7</version>
9
+ <version>17.1.0-canary-20251216-3f01dbf</version>
10
10
  </versions>
11
- <lastUpdated>20251216074641</lastUpdated>
11
+ <lastUpdated>20251216100820</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- a0e4ebe14c917d6b2bb0565d949f92ac
1
+ 2df2f62509c7f399b4501b7cffa2c329
@@ -1 +1 @@
1
- ff029f680ed3d27a8858fe9f3fcf5af842a6343f
1
+ 7a4b263734c7e6904ef73a0fa57313132e634af8
@@ -1 +1 @@
1
- 9c290f01fd3b8be223c902843f40bfb525e0e9c11713b42b5223d5e18715f283
1
+ dda960621bc4b243698fe97476d5e72df35b1f5e9fcb7c201013ca2ae48cae28
@@ -1 +1 @@
1
- afbcde7aa4f87f9055bcc4cb962f3f5473f2cf9ee1eff30de573276bdc0704a04f8507af4c28b6a66faf7e6980dbe58c318253493518f52c1367372070d6d065
1
+ be6ab11e004c3d5e8943a4eda38217d00284e4968b2ed50075c9eb8732da3d45f06c7c89e5b315a796f77bdc704ca6042bf495d40ebc4e5a38eec3d5fa098ed3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-camera",
3
- "version": "17.1.0-canary-20251216-6e1f9a7",
3
+ "version": "17.1.0-canary-20251216-3f01dbf",
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",
@@ -37,10 +37,10 @@
37
37
  "invariant": "^2.2.4"
38
38
  },
39
39
  "devDependencies": {
40
- "expo-module-scripts": "5.1.0-canary-20251216-6e1f9a7"
40
+ "expo-module-scripts": "5.1.0-canary-20251216-3f01dbf"
41
41
  },
42
42
  "peerDependencies": {
43
- "expo": "55.0.0-canary-20251216-6e1f9a7",
43
+ "expo": "55.0.0-canary-20251216-3f01dbf",
44
44
  "react": "*",
45
45
  "react-native": "*",
46
46
  "react-native-web": "*"
@@ -1 +0,0 @@
1
- bb0fb44e7d7ee38dca99ec03516f79b97a3e8efa4efb9f0c3bf9418535ee9af07c21c0e8669cfe75673d5671bbe4d3281b6d39a8012f0763c0d1ec02b81fa6d1
@@ -1 +0,0 @@
1
- 7a68f8a503785a148c5c3d8eaab6a55ddadcd7657ba55f413b5281a3599f0798f00a9b69398eb05944ad41639e3915f6db6d6f37ed1fbcb0326d140a047df2e4