expo-camera 17.1.0-canary-20251127-587bc53 → 17.1.0-canary-20251205-a1dedc6

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 (52) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/android/build.gradle +2 -2
  3. package/android/src/main/java/expo/modules/camera/CameraViewModule.kt +1 -3
  4. package/android/src/main/java/expo/modules/camera/ExpoCameraView.kt +9 -3
  5. package/build/Camera.types.d.ts +2 -0
  6. package/build/Camera.types.d.ts.map +1 -1
  7. package/build/Camera.types.js.map +1 -1
  8. package/expo-module.config.json +1 -1
  9. package/local-maven-repo/host/exp/exponent/expo.modules.camera/{17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53-sources.jar → 17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6-sources.jar} +0 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6-sources.jar.md5 +1 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6-sources.jar.sha1 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6-sources.jar.sha256 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6-sources.jar.sha512 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6.aar +0 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6.aar.md5 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6.aar.sha1 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6.aar.sha256 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6.aar.sha512 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.camera/{17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53.module → 17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6.module} +22 -22
  20. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6.module.md5 +1 -0
  21. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6.module.sha1 +1 -0
  22. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6.module.sha256 +1 -0
  23. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6.module.sha512 +1 -0
  24. package/local-maven-repo/host/exp/exponent/expo.modules.camera/{17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53.pom → 17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6.pom} +1 -1
  25. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6.pom.md5 +1 -0
  26. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6.pom.sha1 +1 -0
  27. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6.pom.sha256 +1 -0
  28. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251205-a1dedc6/expo.modules.camera-17.1.0-canary-20251205-a1dedc6.pom.sha512 +1 -0
  29. package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml +4 -4
  30. package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml.md5 +1 -1
  31. package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml.sha1 +1 -1
  32. package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml.sha256 +1 -1
  33. package/local-maven-repo/host/exp/exponent/expo.modules.camera/maven-metadata.xml.sha512 +1 -1
  34. package/package.json +3 -3
  35. package/src/Camera.types.ts +3 -0
  36. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53-sources.jar.md5 +0 -1
  37. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53-sources.jar.sha1 +0 -1
  38. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53-sources.jar.sha256 +0 -1
  39. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53-sources.jar.sha512 +0 -1
  40. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53.aar +0 -0
  41. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53.aar.md5 +0 -1
  42. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53.aar.sha1 +0 -1
  43. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53.aar.sha256 +0 -1
  44. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53.aar.sha512 +0 -1
  45. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53.module.md5 +0 -1
  46. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53.module.sha1 +0 -1
  47. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53.module.sha256 +0 -1
  48. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53.module.sha512 +0 -1
  49. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53.pom.md5 +0 -1
  50. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53.pom.sha1 +0 -1
  51. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53.pom.sha256 +0 -1
  52. package/local-maven-repo/host/exp/exponent/expo.modules.camera/17.1.0-canary-20251127-587bc53/expo.modules.camera-17.1.0-canary-20251127-587bc53.pom.sha512 +0 -1
package/CHANGELOG.md CHANGED
@@ -11,6 +11,15 @@
11
11
  ### 🐛 Bug fixes
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
+ - [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
+
16
+ ### 💡 Others
17
+
18
+ ## 17.0.10 - 2025-12-05
19
+
20
+ _This version does not introduce any user-facing changes._
21
+
22
+ ## 17.0.9 - 2025-11-03
14
23
 
15
24
  ### 💡 Others
16
25
 
@@ -4,7 +4,7 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '17.1.0-canary-20251127-587bc53'
7
+ version = '17.1.0-canary-20251205-a1dedc6'
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-20251127-587bc53"
16
+ versionName "17.1.0-canary-20251205-a1dedc6"
17
17
  }
18
18
  }
19
19
 
@@ -413,9 +413,7 @@ class CameraViewModule : Module() {
413
413
  }
414
414
 
415
415
  OnViewDidUpdateProps { view ->
416
- moduleScope.launch {
417
- view.createCamera()
418
- }
416
+ view.recreateCamera()
419
417
  }
420
418
 
421
419
  OnViewDestroys { view ->
@@ -405,8 +405,14 @@ class ExpoCameraView(
405
405
  }
406
406
  }
407
407
 
408
+ fun recreateCamera() {
409
+ scope.launch {
410
+ createCamera()
411
+ }
412
+ }
413
+
408
414
  @SuppressLint("UnsafeOptInUsageError")
409
- suspend fun createCamera() {
415
+ private suspend fun createCamera() {
410
416
  if (!shouldCreateCamera || previewPaused) {
411
417
  return
412
418
  }
@@ -781,8 +787,8 @@ class ExpoCameraView(
781
787
  addView(
782
788
  previewView,
783
789
  ViewGroup.LayoutParams(
784
- ViewGroup.LayoutParams.MATCH_PARENT,
785
- ViewGroup.LayoutParams.MATCH_PARENT
790
+ LayoutParams.MATCH_PARENT,
791
+ LayoutParams.MATCH_PARENT
786
792
  )
787
793
  )
788
794
  }
@@ -573,5 +573,7 @@ export declare class CameraNativeModule extends NativeModule<CameraEvents> {
573
573
  readonly getMicrophonePermissionsAsync: () => Promise<PermissionResponse>;
574
574
  readonly requestMicrophonePermissionsAsync: () => Promise<PermissionResponse>;
575
575
  readonly getAvailableVideoCodecsAsync: () => Promise<VideoCodec[]>;
576
+ readonly Type: Record<keyof CameraType, CameraNativeProps['facing']>;
577
+ readonly FlashMode: Record<keyof FlashMode, CameraNativeProps['flashMode']>;
576
578
  }
577
579
  //# sourceMappingURL=Camera.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Camera.types.d.ts","sourceRoot":"","sources":["../src/Camera.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,MAAM,CAAC;AAE1C,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,IAAI,GAAG,MAAM,CAAC;AAE9C,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,KAAK,CAAC;AAEtC,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC;AAE7C,M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,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC9E,QAAQ,CAAC,4BAA4B,EAAE,MAAM,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC;IAEnE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,UAAU,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC;IACrE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,SAAS,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC,CAAC;CAC7E"}
@@ -1 +1 @@
1
- {"version":3,"file":"Camera.types.js","sourceRoot":"","sources":["../src/Camera.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,gBAAgB,GAKjB,MAAM,mBAAmB,CAAC;AA2jB3B,OAAO,EAEL,gBAAgB,GAIjB,CAAC","sourcesContent":["import {\n PermissionResponse,\n PermissionStatus,\n PermissionExpiration,\n PermissionHookOptions,\n EventSubscription,\n NativeModule,\n} from 'expo-modules-core';\nimport type { Ref } from 'react';\nimport type { ViewProps } from 'react-native';\n\nimport { AndroidBarcode } from './AndroidBarcode.types';\nimport { PictureRef } from './PictureRef';\n\nexport type CameraType = 'front' | 'back';\n\nexport type FlashMode = 'off' | 'on' | 'auto';\n\nexport type ImageType = 'png' | 'jpg';\n\nexport type CameraMode = 'picture' | 'video';\n\nexport type CameraRatio = '4:3' | '16:9' | '1:1';\n\n/**\n * This option specifies the mode of focus on the device.\n * - `on` - Indicates that the device should autofocus once and then lock the focus.\n * - `off` - Indicates that the device should automatically focus when needed.\n * @default off\n */\nexport type FocusMode = 'on' | 'off';\n\n/**\n * This option specifies what codec to use when recording a video.\n * @platform ios\n */\nexport type VideoCodec = 'avc1' | 'hvc1' | 'jpeg' | 'apcn' | 'ap4h';\n\n/**\n * This option specifies the stabilization mode to use when recording a video.\n * @platform ios\n */\nexport type VideoStabilization = 'off' | 'standard' | 'cinematic' | 'auto';\n\n// @docsMissing\nexport type VideoQuality = '2160p' | '1080p' | '720p' | '480p' | '4:3';\n\nexport type CameraOrientation =\n | 'portrait'\n | 'portraitUpsideDown'\n | 'landscapeLeft'\n | 'landscapeRight';\n\n// @docsMissing\n/**\n * @hidden We do not expose related web methods in docs.\n * @platform web\n */\nexport type ImageSize = {\n width: number;\n height: number;\n};\n\n// @docsMissing\n/**\n * @hidden We do not expose related web methods in docs.\n * @platform web\n */\nexport type WebCameraSettings = {\n autoFocus?: string;\n flashMode?: string;\n whiteBalance?: string;\n exposureCompensation?: number;\n colorTemperature?: number;\n iso?: number;\n brightness?: number;\n contrast?: number;\n saturation?: number;\n sharpness?: number;\n focusDistance?: number;\n zoom?: number;\n};\n\n// @needsAudit\nexport type CameraCapturedPicture = {\n /**\n * Captured image width.\n */\n width: number;\n /**\n * Captured image height.\n */\n height: number;\n /**\n * The format of the captured image.\n */\n format: 'jpg' | 'png';\n /**\n * On web, the value of `uri` is the same as `base64` because file system URLs are not supported in the browser.\n */\n uri: string;\n /**\n * A Base64 representation of the image.\n */\n base64?: string;\n /**\n * On Android and iOS this object may include various fields based on the device and operating system.\n * On web, it is a partial representation of the [`MediaTrackSettings`](https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackSettings) dictionary.\n */\n exif?: Partial<MediaTrackSettings> | any;\n};\n\n// @needsAudit\nexport type CameraPictureOptions = {\n /**\n * Specify the compression quality from `0` to `1`. `0` means compress for small size, and `1` means compress for maximum quality.\n * @default 1\n */\n quality?: number;\n /**\n * Whether to also include the image data in Base64 format.\n */\n base64?: boolean;\n /**\n * Whether to also include the EXIF data for the image.\n */\n exif?: boolean;\n /**\n * Additional EXIF data to be included for the image. Only useful when `exif` option is set to `true`.\n * @platform android\n * @platform ios\n */\n additionalExif?: Record<string, any>;\n /**\n * A callback invoked when picture is saved. If set, the promise of this method will resolve immediately with no data after picture is captured.\n * The data that it should contain will be passed to this callback. If displaying or processing a captured photo right after taking it\n * is not your case, this callback lets you skip waiting for it to be saved.\n * @param picture\n */\n onPictureSaved?: (picture: CameraCapturedPicture) => void;\n // TODO(Bacon): Is it possible to implement this in the browser?\n /**\n * If set to `true`, camera skips orientation adjustment and returns an image straight from the device's camera.\n * If enabled, `quality` option is discarded (processing pipeline is skipped as a whole).\n * Although enabling this option reduces image delivery time significantly, it may cause the image to appear in a wrong orientation\n * in the `Image` component (at the time of writing, it does not respect EXIF orientation of the images).\n * > **Note**: Enabling `skipProcessing` would cause orientation uncertainty. `Image` component does not respect EXIF\n * > stored orientation information, that means obtained image would be displayed wrongly (rotated by 90°, 180° or 270°).\n * > Different devices provide different orientations. For example some Sony Xperia or Samsung devices don't provide\n * > correctly oriented images by default. To always obtain correctly oriented image disable `skipProcessing` option.\n */\n skipProcessing?: boolean;\n /**\n * @platform web\n */\n scale?: number;\n /**\n * @platform web\n */\n imageType?: ImageType;\n /**\n * @platform web\n */\n isImageMirror?: boolean;\n /**\n * When set to `true`, the output image will be flipped along the vertical axis when using the front camera.\n * @default false\n * @platform ios\n * @platform android\n * @deprecated Use `mirror` prop on `CameraView` instead.\n */\n mirror?: boolean;\n /**\n * @hidden\n */\n id?: number;\n /**\n * @hidden\n */\n fastMode?: boolean;\n /**\n * @hidden\n */\n maxDownsampling?: number;\n /**\n * To programmatically disable the camera shutter sound\n * @default true\n */\n shutterSound?: boolean;\n /**\n * Whether the camera should return an image ref that can be used directly in the `Image` component.\n */\n pictureRef?: boolean;\n};\n\n// @needsAudit\nexport type CameraRecordingOptions = {\n /**\n * Maximum video duration in seconds.\n */\n maxDuration?: number;\n /**\n * Maximum video file size in bytes.\n */\n maxFileSize?: number;\n /**\n * If `true`, the recorded video will be flipped along the vertical axis. iOS flips videos recorded with the front camera by default,\n * but you can reverse that back by setting this to `true`. On Android, this is handled in the user's device settings.\n * @deprecated Use `mirror` prop on `CameraView` instead.\n */\n mirror?: boolean;\n /**\n * This option specifies what codec to use when recording the video. See [`VideoCodec`](#videocodec) for the possible values.\n * @platform ios\n */\n codec?: VideoCodec;\n};\n\n/**\n * @hidden\n */\nexport type PictureSavedListener = (event: {\n nativeEvent: { data: CameraCapturedPicture; id: number };\n}) => void;\n\n/**\n * @hidden\n */\nexport type AvailableLensesChangedListener = (event: { nativeEvent: AvailableLenses }) => void;\n\n// @docsMissing\nexport type AvailableLenses = { lenses: string[] };\n\n/**\n * @hidden\n */\nexport type CameraReadyListener = () => void;\n\n/**\n * @hidden\n */\nexport type ResponsiveOrientationChangedListener = (event: {\n nativeEvent: ResponsiveOrientationChanged;\n}) => void;\n\nexport type ResponsiveOrientationChanged = { orientation: CameraOrientation };\n\n/**\n * @hidden\n */\nexport type MountErrorListener = (event: { nativeEvent: CameraMountError }) => void;\n\n// @docsMissing\nexport type CameraMountError = { message: string };\n\n// @docsMissing\nexport type Point = {\n x: number;\n y: number;\n};\n\nexport type BarcodeSize = {\n /**\n * The height value.\n */\n height: number;\n /**\n * The width value.\n */\n width: number;\n};\n\n/**\n * These coordinates are represented in the coordinate space of the camera source (e.g. when you\n * are using the camera view, these values are adjusted to the dimensions of the view).\n */\nexport type BarcodePoint = Point;\n\nexport type BarcodeBounds = {\n /**\n * The origin point of the bounding box.\n */\n origin: BarcodePoint;\n /**\n * The size of the bounding box.\n */\n size: BarcodeSize;\n};\n\n// @needsAudit\nexport type BarcodeScanningResult = {\n /**\n * The barcode type.\n */\n type: string;\n /**\n * The parsed information encoded in the barcode.\n */\n data: string;\n /**\n * The raw information encoded in the barcode.\n * May be different from `data` depending on the barcode type.\n * @platform android\n * @hidden\n */\n raw?: string;\n /**\n * Corner points of the bounding box.\n * `cornerPoints` is not always available and may be empty. On iOS, for `code39` and `pdf417`\n * you don't get this value.\n *\n * **Note:** Corner points order is currently different across platforms. On Android,\n * [Google MLKit's native order](https://developers.google.com/android/reference/com/google/mlkit/vision/barcode/common/Barcode#getCornerPoints())\n * is used, which is `topLeft`, `topRight`, `bottomRight`, `bottomLeft`.\n * On iOS, the order is `bottomLeft`, `bottomRight`, `topLeft`, `topRight`. On Web, the order is\n * `topLeft`, `bottomLeft`, `topRight`, `bottomRight`.\n *\n */\n cornerPoints: BarcodePoint[];\n /**\n * The [`BarcodeBounds`](#barcodebounds) object.\n * `bounds` in some case will be representing an empty rectangle.\n * Moreover, `bounds` doesn't have to bound the whole barcode.\n * For some types, they will represent the area used by the scanner.\n */\n bounds: BarcodeBounds;\n\n /**\n * Extra information returned by the specific type of barcode.\n * @platform android\n */\n extra?: AndroidBarcode;\n};\n\nexport type ScanningResult = Omit<BarcodeScanningResult, 'bounds' | 'cornerPoints'>;\n\n// @needsAudit\nexport type CameraViewProps = ViewProps & {\n /**\n * Camera facing. Use one of `CameraType`. When `front`, use the front-facing camera.\n * When `back`, use the back-facing camera.\n * @default 'back'\n */\n facing?: CameraType;\n /**\n * Camera flash mode. Use one of `FlashMode` values. When `on`, the flash on your device will\n * turn on when taking a picture. When `off`, it won't. Setting it to `auto` will fire flash if required.\n * @default 'off'\n */\n flash?: FlashMode;\n /**\n * A value between `0` and `1` being a percentage of device's max zoom, where `0` means not zoomed and `1` means maximum zoom.\n * @default 0\n */\n zoom?: number;\n /**\n * Used to select image or video output.\n * @default 'picture'\n */\n mode?: CameraMode;\n /**\n * If present, video will be recorded with no sound.\n * @default false\n */\n mute?: boolean;\n /**\n * A boolean that determines whether the camera should mirror the image when using the front camera.\n * @default false\n */\n mirror?: boolean;\n /**\n * Indicates the focus mode to use.\n * @default off\n * @platform ios\n */\n autofocus?: FocusMode;\n /**\n * A boolean that determines whether the camera should be active.\n * Useful in situations where the camera may not have unmounted but you still want to stop the camera session.\n * @default true\n * @platform ios\n */\n active?: boolean;\n /**\n * Specify the quality of the recorded video. Use one of `VideoQuality` possible values:\n * for 16:9 resolution `2160p`, `1080p`, `720p`, `480p` : `Android only` and for 4:3 `4:3` (the size is 640x480).\n * If the chosen quality is not available for a device, the highest available is chosen.\n */\n videoQuality?: VideoQuality;\n /**\n * The bitrate of the video recording in bits per second.\n * Note: On iOS, you must specify the video codec when calling `recordAsync` to use this option.\n * @example 10_000_000\n */\n videoBitrate?: number;\n /**\n * A boolean that determines whether the camera shutter animation should be enabled.\n * @default true\n */\n animateShutter?: boolean;\n /**\n * A string representing the size of pictures [`takePictureAsync`](#takepictureasyncoptions) will take.\n * Available sizes can be fetched with [`getAvailablePictureSizesAsync`](#getavailablepicturesizesasync).\n * Setting this prop will cause the `ratio` prop to be ignored as the aspect ratio is determined by the selected size.\n */\n pictureSize?: string;\n /**\n * Available lenses are emitted to the `onAvailableLensesChanged` callback whenever the currently selected camera changes or by calling [`getAvailableLensesAsync`](#getavailablelensesasync).\n * You can read more about the available lenses in the [Apple documentation](https://developer.apple.com/documentation/avfoundation/avcapturedevice/devicetype-swift.struct).\n * @platform ios\n * @default 'builtInWideAngleCamera'\n */\n selectedLens?: string;\n /**\n * A boolean to enable or disable the torch.\n * @default false\n */\n enableTorch?: boolean;\n /**\n * The video stabilization mode used for a video recording. Use one of [`VideoStabilization.<value>`](#videostabilization).\n * You can read more about each stabilization type in [Apple Documentation](https://developer.apple.com/documentation/avfoundation/avcapturevideostabilizationmode).\n * @platform ios\n */\n videoStabilizationMode?: VideoStabilization;\n /**\n * @example\n * ```tsx\n * <CameraView\n * barcodeScannerSettings={{\n * barcodeTypes: [\"qr\"],\n * }}\n * />\n * ```\n */\n barcodeScannerSettings?: BarcodeSettings;\n /**\n * A URL for an image to be shown while the camera is loading.\n * @platform web\n */\n poster?: string;\n /**\n * Whether to allow responsive orientation of the camera when the screen orientation is locked (that is, when set to `true`,\n * landscape photos will be taken if the device is turned that way, even if the app or device orientation is locked to portrait).\n * @platform ios\n */\n responsiveOrientationWhenOrientationLocked?: boolean;\n /**\n * A string representing the aspect ratio of the preview. For example, `4:3` and `16:9`.\n * Note: Setting the aspect ratio here will change the scaleType of the camera preview from `FILL` to `FIT`.\n * Also, when using 1:1, devices only support certain sizes. If you specify an unsupported size, the closest supported ratio will be used.\n * @platform android\n */\n ratio?: CameraRatio;\n /**\n * Callback invoked when camera preview has been set.\n */\n onCameraReady?: () => void;\n /**\n * Callback invoked when camera preview could not start.\n * @param event Error object that contains a `message`.\n */\n onMountError?: (event: CameraMountError) => void;\n /**\n * Callback that is invoked when a barcode has been successfully scanned. The callback is provided with\n * an object of the [`BarcodeScanningResult`](#barcodescanningresult) shape, where the `type`\n * refers to the barcode type that was scanned, and the `data` is the information encoded in the barcode\n * (in this case of QR codes, this is often a URL). See [`BarcodeType`](#barcodetype) for supported values.\n * @param scanningResult\n */\n onBarcodeScanned?: (scanningResult: BarcodeScanningResult) => void;\n /**\n * Callback invoked when responsive orientation changes. Only applicable if `responsiveOrientationWhenOrientationLocked` is `true`.\n * @param event result object that contains updated orientation of camera\n * @platform ios\n */\n onResponsiveOrientationChanged?: (event: ResponsiveOrientationChanged) => void;\n /**\n * Callback invoked when the cameras available lenses change.\n * @param event result object that contains a `lenses` property containing an array of available lenses.\n * @platform ios\n */\n onAvailableLensesChanged?: (event: AvailableLenses) => void;\n};\n\n/**\n * @hidden\n */\nexport interface CameraViewRef {\n readonly takePicture: (options: CameraPictureOptions) => Promise<CameraCapturedPicture>;\n readonly takePictureRef?: (options: CameraPictureOptions) => Promise<PictureRef>;\n readonly getAvailablePictureSizes: () => Promise<string[]>;\n readonly getAvailableLenses: () => Promise<string[]>;\n readonly record: (options?: CameraRecordingOptions) => Promise<{ uri: string }>;\n readonly toggleRecording: () => Promise<void>;\n readonly stopRecording: () => Promise<void>;\n readonly launchModernScanner: () => Promise<void>;\n readonly resumePreview: () => Promise<void>;\n readonly pausePreview: () => Promise<void>;\n}\n\n/**\n * @hidden\n */\nexport type CameraNativeProps = {\n pointerEvents?: any;\n style?: any;\n ref?: Ref<CameraViewRef>;\n onCameraReady?: CameraReadyListener;\n onMountError?: MountErrorListener;\n onBarcodeScanned?: (event: { nativeEvent: BarcodeScanningResult }) => void;\n onPictureSaved?: PictureSavedListener;\n onResponsiveOrientationChanged?: ResponsiveOrientationChangedListener;\n onAvailableLensesChanged?: AvailableLensesChangedListener;\n facing?: string;\n flashMode?: string;\n enableTorch?: boolean;\n animateShutter?: boolean;\n autoFocus?: FocusMode;\n mute?: boolean;\n zoom?: number;\n ratio?: CameraRatio;\n barcodeScannerSettings?: BarcodeSettings;\n barcodeScannerEnabled?: boolean;\n poster?: string;\n responsiveOrientationWhenOrientationLocked?: boolean;\n};\n\n// @docsMissing\nexport type BarcodeSettings = {\n barcodeTypes: BarcodeType[];\n};\n\n/**\n * @platform ios\n */\nexport type ScanningOptions = {\n /**\n * The type of codes to scan for.\n */\n barcodeTypes: BarcodeType[];\n /**\n * Indicates whether people can use a two-finger pinch-to-zoom gesture.\n * @platform ios\n * @default true\n */\n isPinchToZoomEnabled?: boolean;\n /**\n * Guidance text, such as “Slow Down,” appears over the live video.\n * @platform ios\n * @default true\n */\n isGuidanceEnabled?: boolean;\n /**\n * Indicates whether the scanner displays highlights around recognized items.\n * @platform ios\n * @default false\n */\n isHighlightingEnabled?: boolean;\n};\n\n/**\n * The available barcode types that can be scanned.\n */\nexport type BarcodeType =\n | 'aztec'\n | 'ean13'\n | 'ean8'\n | 'qr'\n | 'pdf417'\n | 'upc_e'\n | 'datamatrix'\n | 'code39'\n | 'code93'\n | 'itf14'\n | 'codabar'\n | 'code128'\n | 'upc_a';\n\nexport {\n PermissionResponse,\n PermissionStatus,\n PermissionExpiration,\n PermissionHookOptions,\n EventSubscription as Subscription,\n};\n\nexport type PhotoResult = {\n /**\n * A URI to the modified image (usable as the source for an `Image` or `Video` element).\n */\n uri: string;\n /**\n * Width of the image.\n */\n width: number;\n /**\n * Height of the image.\n */\n height: number;\n /**\n * A Base64 representation of the image.\n */\n base64?: string;\n};\n\n// @needsAudit\n/**\n * A map defining how modified image should be saved.\n */\nexport type SavePictureOptions = {\n /**\n * Specify the compression quality from `0` to `1`. `0` means compress for small size, and `1` means compress for maximum quality.\n */\n quality?: number;\n /**\n * Additional metadata to be included for the image.\n */\n metadata?: Record<string, any>;\n /**\n * Whether to also include the image data in Base64 format.\n */\n base64?: boolean;\n};\n\nexport type CameraEvents = {\n onModernBarcodeScanned: (event: ScanningResult) => void;\n};\nexport declare class CameraNativeModule extends NativeModule<CameraEvents> {\n /**\n * @hidden\n */\n Picture: typeof PictureRef;\n\n readonly isModernBarcodeScannerAvailable: boolean;\n readonly toggleRecordingAsyncAvailable: boolean;\n readonly isAvailableAsync: () => Promise<boolean>;\n readonly launchScanner: (options?: ScanningOptions) => Promise<void>;\n readonly dismissScanner: () => Promise<void>;\n readonly scanFromURLAsync: (\n url: string,\n barcodeTypes?: BarcodeType[]\n ) => Promise<BarcodeScanningResult[]>;\n readonly getCameraPermissionsAsync: () => Promise<PermissionResponse>;\n readonly requestCameraPermissionsAsync: () => Promise<PermissionResponse>;\n readonly getMicrophonePermissionsAsync: () => Promise<PermissionResponse>;\n readonly requestMicrophonePermissionsAsync: () => Promise<PermissionResponse>;\n readonly getAvailableVideoCodecsAsync: () => Promise<VideoCodec[]>;\n}\n"]}
1
+ {"version":3,"file":"Camera.types.js","sourceRoot":"","sources":["../src/Camera.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,gBAAgB,GAKjB,MAAM,mBAAmB,CAAC;AA2jB3B,OAAO,EAEL,gBAAgB,GAIjB,CAAC","sourcesContent":["import {\n PermissionResponse,\n PermissionStatus,\n PermissionExpiration,\n PermissionHookOptions,\n EventSubscription,\n NativeModule,\n} from 'expo-modules-core';\nimport type { Ref } from 'react';\nimport type { ViewProps } from 'react-native';\n\nimport { AndroidBarcode } from './AndroidBarcode.types';\nimport { PictureRef } from './PictureRef';\n\nexport type CameraType = 'front' | 'back';\n\nexport type FlashMode = 'off' | 'on' | 'auto';\n\nexport type ImageType = 'png' | 'jpg';\n\nexport type CameraMode = 'picture' | 'video';\n\nexport type CameraRatio = '4:3' | '16:9' | '1:1';\n\n/**\n * This option specifies the mode of focus on the device.\n * - `on` - Indicates that the device should autofocus once and then lock the focus.\n * - `off` - Indicates that the device should automatically focus when needed.\n * @default off\n */\nexport type FocusMode = 'on' | 'off';\n\n/**\n * This option specifies what codec to use when recording a video.\n * @platform ios\n */\nexport type VideoCodec = 'avc1' | 'hvc1' | 'jpeg' | 'apcn' | 'ap4h';\n\n/**\n * This option specifies the stabilization mode to use when recording a video.\n * @platform ios\n */\nexport type VideoStabilization = 'off' | 'standard' | 'cinematic' | 'auto';\n\n// @docsMissing\nexport type VideoQuality = '2160p' | '1080p' | '720p' | '480p' | '4:3';\n\nexport type CameraOrientation =\n | 'portrait'\n | 'portraitUpsideDown'\n | 'landscapeLeft'\n | 'landscapeRight';\n\n// @docsMissing\n/**\n * @hidden We do not expose related web methods in docs.\n * @platform web\n */\nexport type ImageSize = {\n width: number;\n height: number;\n};\n\n// @docsMissing\n/**\n * @hidden We do not expose related web methods in docs.\n * @platform web\n */\nexport type WebCameraSettings = {\n autoFocus?: string;\n flashMode?: string;\n whiteBalance?: string;\n exposureCompensation?: number;\n colorTemperature?: number;\n iso?: number;\n brightness?: number;\n contrast?: number;\n saturation?: number;\n sharpness?: number;\n focusDistance?: number;\n zoom?: number;\n};\n\n// @needsAudit\nexport type CameraCapturedPicture = {\n /**\n * Captured image width.\n */\n width: number;\n /**\n * Captured image height.\n */\n height: number;\n /**\n * The format of the captured image.\n */\n format: 'jpg' | 'png';\n /**\n * On web, the value of `uri` is the same as `base64` because file system URLs are not supported in the browser.\n */\n uri: string;\n /**\n * A Base64 representation of the image.\n */\n base64?: string;\n /**\n * On Android and iOS this object may include various fields based on the device and operating system.\n * On web, it is a partial representation of the [`MediaTrackSettings`](https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackSettings) dictionary.\n */\n exif?: Partial<MediaTrackSettings> | any;\n};\n\n// @needsAudit\nexport type CameraPictureOptions = {\n /**\n * Specify the compression quality from `0` to `1`. `0` means compress for small size, and `1` means compress for maximum quality.\n * @default 1\n */\n quality?: number;\n /**\n * Whether to also include the image data in Base64 format.\n */\n base64?: boolean;\n /**\n * Whether to also include the EXIF data for the image.\n */\n exif?: boolean;\n /**\n * Additional EXIF data to be included for the image. Only useful when `exif` option is set to `true`.\n * @platform android\n * @platform ios\n */\n additionalExif?: Record<string, any>;\n /**\n * A callback invoked when picture is saved. If set, the promise of this method will resolve immediately with no data after picture is captured.\n * The data that it should contain will be passed to this callback. If displaying or processing a captured photo right after taking it\n * is not your case, this callback lets you skip waiting for it to be saved.\n * @param picture\n */\n onPictureSaved?: (picture: CameraCapturedPicture) => void;\n // TODO(Bacon): Is it possible to implement this in the browser?\n /**\n * If set to `true`, camera skips orientation adjustment and returns an image straight from the device's camera.\n * If enabled, `quality` option is discarded (processing pipeline is skipped as a whole).\n * Although enabling this option reduces image delivery time significantly, it may cause the image to appear in a wrong orientation\n * in the `Image` component (at the time of writing, it does not respect EXIF orientation of the images).\n * > **Note**: Enabling `skipProcessing` would cause orientation uncertainty. `Image` component does not respect EXIF\n * > stored orientation information, that means obtained image would be displayed wrongly (rotated by 90°, 180° or 270°).\n * > Different devices provide different orientations. For example some Sony Xperia or Samsung devices don't provide\n * > correctly oriented images by default. To always obtain correctly oriented image disable `skipProcessing` option.\n */\n skipProcessing?: boolean;\n /**\n * @platform web\n */\n scale?: number;\n /**\n * @platform web\n */\n imageType?: ImageType;\n /**\n * @platform web\n */\n isImageMirror?: boolean;\n /**\n * When set to `true`, the output image will be flipped along the vertical axis when using the front camera.\n * @default false\n * @platform ios\n * @platform android\n * @deprecated Use `mirror` prop on `CameraView` instead.\n */\n mirror?: boolean;\n /**\n * @hidden\n */\n id?: number;\n /**\n * @hidden\n */\n fastMode?: boolean;\n /**\n * @hidden\n */\n maxDownsampling?: number;\n /**\n * To programmatically disable the camera shutter sound\n * @default true\n */\n shutterSound?: boolean;\n /**\n * Whether the camera should return an image ref that can be used directly in the `Image` component.\n */\n pictureRef?: boolean;\n};\n\n// @needsAudit\nexport type CameraRecordingOptions = {\n /**\n * Maximum video duration in seconds.\n */\n maxDuration?: number;\n /**\n * Maximum video file size in bytes.\n */\n maxFileSize?: number;\n /**\n * If `true`, the recorded video will be flipped along the vertical axis. iOS flips videos recorded with the front camera by default,\n * but you can reverse that back by setting this to `true`. On Android, this is handled in the user's device settings.\n * @deprecated Use `mirror` prop on `CameraView` instead.\n */\n mirror?: boolean;\n /**\n * This option specifies what codec to use when recording the video. See [`VideoCodec`](#videocodec) for the possible values.\n * @platform ios\n */\n codec?: VideoCodec;\n};\n\n/**\n * @hidden\n */\nexport type PictureSavedListener = (event: {\n nativeEvent: { data: CameraCapturedPicture; id: number };\n}) => void;\n\n/**\n * @hidden\n */\nexport type AvailableLensesChangedListener = (event: { nativeEvent: AvailableLenses }) => void;\n\n// @docsMissing\nexport type AvailableLenses = { lenses: string[] };\n\n/**\n * @hidden\n */\nexport type CameraReadyListener = () => void;\n\n/**\n * @hidden\n */\nexport type ResponsiveOrientationChangedListener = (event: {\n nativeEvent: ResponsiveOrientationChanged;\n}) => void;\n\nexport type ResponsiveOrientationChanged = { orientation: CameraOrientation };\n\n/**\n * @hidden\n */\nexport type MountErrorListener = (event: { nativeEvent: CameraMountError }) => void;\n\n// @docsMissing\nexport type CameraMountError = { message: string };\n\n// @docsMissing\nexport type Point = {\n x: number;\n y: number;\n};\n\nexport type BarcodeSize = {\n /**\n * The height value.\n */\n height: number;\n /**\n * The width value.\n */\n width: number;\n};\n\n/**\n * These coordinates are represented in the coordinate space of the camera source (e.g. when you\n * are using the camera view, these values are adjusted to the dimensions of the view).\n */\nexport type BarcodePoint = Point;\n\nexport type BarcodeBounds = {\n /**\n * The origin point of the bounding box.\n */\n origin: BarcodePoint;\n /**\n * The size of the bounding box.\n */\n size: BarcodeSize;\n};\n\n// @needsAudit\nexport type BarcodeScanningResult = {\n /**\n * The barcode type.\n */\n type: string;\n /**\n * The parsed information encoded in the barcode.\n */\n data: string;\n /**\n * The raw information encoded in the barcode.\n * May be different from `data` depending on the barcode type.\n * @platform android\n * @hidden\n */\n raw?: string;\n /**\n * Corner points of the bounding box.\n * `cornerPoints` is not always available and may be empty. On iOS, for `code39` and `pdf417`\n * you don't get this value.\n *\n * **Note:** Corner points order is currently different across platforms. On Android,\n * [Google MLKit's native order](https://developers.google.com/android/reference/com/google/mlkit/vision/barcode/common/Barcode#getCornerPoints())\n * is used, which is `topLeft`, `topRight`, `bottomRight`, `bottomLeft`.\n * On iOS, the order is `bottomLeft`, `bottomRight`, `topLeft`, `topRight`. On Web, the order is\n * `topLeft`, `bottomLeft`, `topRight`, `bottomRight`.\n *\n */\n cornerPoints: BarcodePoint[];\n /**\n * The [`BarcodeBounds`](#barcodebounds) object.\n * `bounds` in some case will be representing an empty rectangle.\n * Moreover, `bounds` doesn't have to bound the whole barcode.\n * For some types, they will represent the area used by the scanner.\n */\n bounds: BarcodeBounds;\n\n /**\n * Extra information returned by the specific type of barcode.\n * @platform android\n */\n extra?: AndroidBarcode;\n};\n\nexport type ScanningResult = Omit<BarcodeScanningResult, 'bounds' | 'cornerPoints'>;\n\n// @needsAudit\nexport type CameraViewProps = ViewProps & {\n /**\n * Camera facing. Use one of `CameraType`. When `front`, use the front-facing camera.\n * When `back`, use the back-facing camera.\n * @default 'back'\n */\n facing?: CameraType;\n /**\n * Camera flash mode. Use one of `FlashMode` values. When `on`, the flash on your device will\n * turn on when taking a picture. When `off`, it won't. Setting it to `auto` will fire flash if required.\n * @default 'off'\n */\n flash?: FlashMode;\n /**\n * A value between `0` and `1` being a percentage of device's max zoom, where `0` means not zoomed and `1` means maximum zoom.\n * @default 0\n */\n zoom?: number;\n /**\n * Used to select image or video output.\n * @default 'picture'\n */\n mode?: CameraMode;\n /**\n * If present, video will be recorded with no sound.\n * @default false\n */\n mute?: boolean;\n /**\n * A boolean that determines whether the camera should mirror the image when using the front camera.\n * @default false\n */\n mirror?: boolean;\n /**\n * Indicates the focus mode to use.\n * @default off\n * @platform ios\n */\n autofocus?: FocusMode;\n /**\n * A boolean that determines whether the camera should be active.\n * Useful in situations where the camera may not have unmounted but you still want to stop the camera session.\n * @default true\n * @platform ios\n */\n active?: boolean;\n /**\n * Specify the quality of the recorded video. Use one of `VideoQuality` possible values:\n * for 16:9 resolution `2160p`, `1080p`, `720p`, `480p` : `Android only` and for 4:3 `4:3` (the size is 640x480).\n * If the chosen quality is not available for a device, the highest available is chosen.\n */\n videoQuality?: VideoQuality;\n /**\n * The bitrate of the video recording in bits per second.\n * Note: On iOS, you must specify the video codec when calling `recordAsync` to use this option.\n * @example 10_000_000\n */\n videoBitrate?: number;\n /**\n * A boolean that determines whether the camera shutter animation should be enabled.\n * @default true\n */\n animateShutter?: boolean;\n /**\n * A string representing the size of pictures [`takePictureAsync`](#takepictureasyncoptions) will take.\n * Available sizes can be fetched with [`getAvailablePictureSizesAsync`](#getavailablepicturesizesasync).\n * Setting this prop will cause the `ratio` prop to be ignored as the aspect ratio is determined by the selected size.\n */\n pictureSize?: string;\n /**\n * Available lenses are emitted to the `onAvailableLensesChanged` callback whenever the currently selected camera changes or by calling [`getAvailableLensesAsync`](#getavailablelensesasync).\n * You can read more about the available lenses in the [Apple documentation](https://developer.apple.com/documentation/avfoundation/avcapturedevice/devicetype-swift.struct).\n * @platform ios\n * @default 'builtInWideAngleCamera'\n */\n selectedLens?: string;\n /**\n * A boolean to enable or disable the torch.\n * @default false\n */\n enableTorch?: boolean;\n /**\n * The video stabilization mode used for a video recording. Use one of [`VideoStabilization.<value>`](#videostabilization).\n * You can read more about each stabilization type in [Apple Documentation](https://developer.apple.com/documentation/avfoundation/avcapturevideostabilizationmode).\n * @platform ios\n */\n videoStabilizationMode?: VideoStabilization;\n /**\n * @example\n * ```tsx\n * <CameraView\n * barcodeScannerSettings={{\n * barcodeTypes: [\"qr\"],\n * }}\n * />\n * ```\n */\n barcodeScannerSettings?: BarcodeSettings;\n /**\n * A URL for an image to be shown while the camera is loading.\n * @platform web\n */\n poster?: string;\n /**\n * Whether to allow responsive orientation of the camera when the screen orientation is locked (that is, when set to `true`,\n * landscape photos will be taken if the device is turned that way, even if the app or device orientation is locked to portrait).\n * @platform ios\n */\n responsiveOrientationWhenOrientationLocked?: boolean;\n /**\n * A string representing the aspect ratio of the preview. For example, `4:3` and `16:9`.\n * Note: Setting the aspect ratio here will change the scaleType of the camera preview from `FILL` to `FIT`.\n * Also, when using 1:1, devices only support certain sizes. If you specify an unsupported size, the closest supported ratio will be used.\n * @platform android\n */\n ratio?: CameraRatio;\n /**\n * Callback invoked when camera preview has been set.\n */\n onCameraReady?: () => void;\n /**\n * Callback invoked when camera preview could not start.\n * @param event Error object that contains a `message`.\n */\n onMountError?: (event: CameraMountError) => void;\n /**\n * Callback that is invoked when a barcode has been successfully scanned. The callback is provided with\n * an object of the [`BarcodeScanningResult`](#barcodescanningresult) shape, where the `type`\n * refers to the barcode type that was scanned, and the `data` is the information encoded in the barcode\n * (in this case of QR codes, this is often a URL). See [`BarcodeType`](#barcodetype) for supported values.\n * @param scanningResult\n */\n onBarcodeScanned?: (scanningResult: BarcodeScanningResult) => void;\n /**\n * Callback invoked when responsive orientation changes. Only applicable if `responsiveOrientationWhenOrientationLocked` is `true`.\n * @param event result object that contains updated orientation of camera\n * @platform ios\n */\n onResponsiveOrientationChanged?: (event: ResponsiveOrientationChanged) => void;\n /**\n * Callback invoked when the cameras available lenses change.\n * @param event result object that contains a `lenses` property containing an array of available lenses.\n * @platform ios\n */\n onAvailableLensesChanged?: (event: AvailableLenses) => void;\n};\n\n/**\n * @hidden\n */\nexport interface CameraViewRef {\n readonly takePicture: (options: CameraPictureOptions) => Promise<CameraCapturedPicture>;\n readonly takePictureRef?: (options: CameraPictureOptions) => Promise<PictureRef>;\n readonly getAvailablePictureSizes: () => Promise<string[]>;\n readonly getAvailableLenses: () => Promise<string[]>;\n readonly record: (options?: CameraRecordingOptions) => Promise<{ uri: string }>;\n readonly toggleRecording: () => Promise<void>;\n readonly stopRecording: () => Promise<void>;\n readonly launchModernScanner: () => Promise<void>;\n readonly resumePreview: () => Promise<void>;\n readonly pausePreview: () => Promise<void>;\n}\n\n/**\n * @hidden\n */\nexport type CameraNativeProps = {\n pointerEvents?: any;\n style?: any;\n ref?: Ref<CameraViewRef>;\n onCameraReady?: CameraReadyListener;\n onMountError?: MountErrorListener;\n onBarcodeScanned?: (event: { nativeEvent: BarcodeScanningResult }) => void;\n onPictureSaved?: PictureSavedListener;\n onResponsiveOrientationChanged?: ResponsiveOrientationChangedListener;\n onAvailableLensesChanged?: AvailableLensesChangedListener;\n facing?: string;\n flashMode?: string;\n enableTorch?: boolean;\n animateShutter?: boolean;\n autoFocus?: FocusMode;\n mute?: boolean;\n zoom?: number;\n ratio?: CameraRatio;\n barcodeScannerSettings?: BarcodeSettings;\n barcodeScannerEnabled?: boolean;\n poster?: string;\n responsiveOrientationWhenOrientationLocked?: boolean;\n};\n\n// @docsMissing\nexport type BarcodeSettings = {\n barcodeTypes: BarcodeType[];\n};\n\n/**\n * @platform ios\n */\nexport type ScanningOptions = {\n /**\n * The type of codes to scan for.\n */\n barcodeTypes: BarcodeType[];\n /**\n * Indicates whether people can use a two-finger pinch-to-zoom gesture.\n * @platform ios\n * @default true\n */\n isPinchToZoomEnabled?: boolean;\n /**\n * Guidance text, such as “Slow Down,” appears over the live video.\n * @platform ios\n * @default true\n */\n isGuidanceEnabled?: boolean;\n /**\n * Indicates whether the scanner displays highlights around recognized items.\n * @platform ios\n * @default false\n */\n isHighlightingEnabled?: boolean;\n};\n\n/**\n * The available barcode types that can be scanned.\n */\nexport type BarcodeType =\n | 'aztec'\n | 'ean13'\n | 'ean8'\n | 'qr'\n | 'pdf417'\n | 'upc_e'\n | 'datamatrix'\n | 'code39'\n | 'code93'\n | 'itf14'\n | 'codabar'\n | 'code128'\n | 'upc_a';\n\nexport {\n PermissionResponse,\n PermissionStatus,\n PermissionExpiration,\n PermissionHookOptions,\n EventSubscription as Subscription,\n};\n\nexport type PhotoResult = {\n /**\n * A URI to the modified image (usable as the source for an `Image` or `Video` element).\n */\n uri: string;\n /**\n * Width of the image.\n */\n width: number;\n /**\n * Height of the image.\n */\n height: number;\n /**\n * A Base64 representation of the image.\n */\n base64?: string;\n};\n\n// @needsAudit\n/**\n * A map defining how modified image should be saved.\n */\nexport type SavePictureOptions = {\n /**\n * Specify the compression quality from `0` to `1`. `0` means compress for small size, and `1` means compress for maximum quality.\n */\n quality?: number;\n /**\n * Additional metadata to be included for the image.\n */\n metadata?: Record<string, any>;\n /**\n * Whether to also include the image data in Base64 format.\n */\n base64?: boolean;\n};\n\nexport type CameraEvents = {\n onModernBarcodeScanned: (event: ScanningResult) => void;\n};\nexport declare class CameraNativeModule extends NativeModule<CameraEvents> {\n /**\n * @hidden\n */\n Picture: typeof PictureRef;\n\n readonly isModernBarcodeScannerAvailable: boolean;\n readonly toggleRecordingAsyncAvailable: boolean;\n readonly isAvailableAsync: () => Promise<boolean>;\n readonly launchScanner: (options?: ScanningOptions) => Promise<void>;\n readonly dismissScanner: () => Promise<void>;\n readonly scanFromURLAsync: (\n url: string,\n barcodeTypes?: BarcodeType[]\n ) => Promise<BarcodeScanningResult[]>;\n readonly getCameraPermissionsAsync: () => Promise<PermissionResponse>;\n readonly requestCameraPermissionsAsync: () => Promise<PermissionResponse>;\n readonly getMicrophonePermissionsAsync: () => Promise<PermissionResponse>;\n readonly requestMicrophonePermissionsAsync: () => Promise<PermissionResponse>;\n readonly getAvailableVideoCodecsAsync: () => Promise<VideoCodec[]>;\n\n readonly Type: Record<keyof CameraType, CameraNativeProps['facing']>;\n readonly FlashMode: Record<keyof FlashMode, CameraNativeProps['flashMode']>;\n}\n"]}
@@ -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-20251127-587bc53",
11
+ "version": "17.1.0-canary-20251205-a1dedc6",
12
12
  "repository": "local-maven-repo"
13
13
  }
14
14
  }
@@ -0,0 +1 @@
1
+ fbb84bc27ac0cd27cc2675627ce2065c98e46b8063ff1b2768798364e2642000549dc4b169600a132cd20b8b16c1b554931fbdd1ac773254244b27f2b5c7d0cf
@@ -0,0 +1 @@
1
+ 34842c0f2474c5f526ee4c37ff51cf025add5aa30827b6c2be05ea1a1e7bce3260913e8b06bb5b26e829fc0a124ab5b48e99357fe3aa107bfe9f3b6cb6aed541
@@ -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-20251127-587bc53",
6
+ "version": "17.1.0-canary-20251205-a1dedc6",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -40,13 +40,13 @@
40
40
  ],
41
41
  "files": [
42
42
  {
43
- "name": "expo.modules.camera-17.1.0-canary-20251127-587bc53.aar",
44
- "url": "expo.modules.camera-17.1.0-canary-20251127-587bc53.aar",
45
- "size": 243565,
46
- "sha512": "f03b1dbefdd513900ebae26a2d5748dc0dbaad23ea042710d70b9cdbc2aa9f51469bb49ce0393c768aa768c247a0b891a973fd02ede99f3380d052ff46008e4e",
47
- "sha256": "585eb8af71bef6265cc02ea48c67e1dc9108e1be15fee2de0f99597ac8cc51a7",
48
- "sha1": "f32a6157b765d385d7c18a7c4459b8a8a306d531",
49
- "md5": "e8d54d0adf383284319beee8263f6737"
43
+ "name": "expo.modules.camera-17.1.0-canary-20251205-a1dedc6.aar",
44
+ "url": "expo.modules.camera-17.1.0-canary-20251205-a1dedc6.aar",
45
+ "size": 243059,
46
+ "sha512": "34842c0f2474c5f526ee4c37ff51cf025add5aa30827b6c2be05ea1a1e7bce3260913e8b06bb5b26e829fc0a124ab5b48e99357fe3aa107bfe9f3b6cb6aed541",
47
+ "sha256": "06b60462b45bd8b848c452431f3407429969f5fad5b2c9c412f88e227ace53b6",
48
+ "sha1": "2518544d80080550e3401246b537b9d75df6ef03",
49
+ "md5": "49d78a43c09d212a7ea7ac853d5249de"
50
50
  }
51
51
  ]
52
52
  },
@@ -146,13 +146,13 @@
146
146
  ],
147
147
  "files": [
148
148
  {
149
- "name": "expo.modules.camera-17.1.0-canary-20251127-587bc53.aar",
150
- "url": "expo.modules.camera-17.1.0-canary-20251127-587bc53.aar",
151
- "size": 243565,
152
- "sha512": "f03b1dbefdd513900ebae26a2d5748dc0dbaad23ea042710d70b9cdbc2aa9f51469bb49ce0393c768aa768c247a0b891a973fd02ede99f3380d052ff46008e4e",
153
- "sha256": "585eb8af71bef6265cc02ea48c67e1dc9108e1be15fee2de0f99597ac8cc51a7",
154
- "sha1": "f32a6157b765d385d7c18a7c4459b8a8a306d531",
155
- "md5": "e8d54d0adf383284319beee8263f6737"
149
+ "name": "expo.modules.camera-17.1.0-canary-20251205-a1dedc6.aar",
150
+ "url": "expo.modules.camera-17.1.0-canary-20251205-a1dedc6.aar",
151
+ "size": 243059,
152
+ "sha512": "34842c0f2474c5f526ee4c37ff51cf025add5aa30827b6c2be05ea1a1e7bce3260913e8b06bb5b26e829fc0a124ab5b48e99357fe3aa107bfe9f3b6cb6aed541",
153
+ "sha256": "06b60462b45bd8b848c452431f3407429969f5fad5b2c9c412f88e227ace53b6",
154
+ "sha1": "2518544d80080550e3401246b537b9d75df6ef03",
155
+ "md5": "49d78a43c09d212a7ea7ac853d5249de"
156
156
  }
157
157
  ]
158
158
  },
@@ -166,13 +166,13 @@
166
166
  },
167
167
  "files": [
168
168
  {
169
- "name": "expo.modules.camera-17.1.0-canary-20251127-587bc53-sources.jar",
170
- "url": "expo.modules.camera-17.1.0-canary-20251127-587bc53-sources.jar",
171
- "size": 28744,
172
- "sha512": "93415f2af10442d6d8e46d92db5a26237ec769453c544b9d07ade94dd38a9fd58f5e2fd3a08675ca5f9390d65a6472de57681e69d9e189197649abb70f749a5a",
173
- "sha256": "592d6de08cc67327321eb565a121f0b1a3f89b215915c1e3fc8eadf1dad07d73",
174
- "sha1": "d98aee84bbde8a9a425fea70ba5af0d649e53fff",
175
- "md5": "f19f916eb3915c4eb7452b025f83cebf"
169
+ "name": "expo.modules.camera-17.1.0-canary-20251205-a1dedc6-sources.jar",
170
+ "url": "expo.modules.camera-17.1.0-canary-20251205-a1dedc6-sources.jar",
171
+ "size": 28741,
172
+ "sha512": "fbb84bc27ac0cd27cc2675627ce2065c98e46b8063ff1b2768798364e2642000549dc4b169600a132cd20b8b16c1b554931fbdd1ac773254244b27f2b5c7d0cf",
173
+ "sha256": "88d428131a1429ac059e1411f55e2329e376706f09d0de81294c7e7332ff6ed5",
174
+ "sha1": "df466ac1c494cb055928d05c38c75950627fbbd9",
175
+ "md5": "32e55aa2c23ebb3d865ff153aaaded8d"
176
176
  }
177
177
  ]
178
178
  }
@@ -0,0 +1 @@
1
+ c555021e3f2935112faf5e2794a709e1d134030b8e33749dfd8d2fd59b95fca497eff29fd42b75581e7717372770d2c36382599923aacce6d331dccefc9b8f0a
@@ -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-20251127-587bc53</version>
12
+ <version>17.1.0-canary-20251205-a1dedc6</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
+ e4b334b190de2e37160dfb2dd9da118766bd614271e27c1bc420efb4d287d2b00658644170048457442db51b7bd35f32f18cb5b7567a215cbf78b7c615c88af9
@@ -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-20251127-587bc53</latest>
7
- <release>17.1.0-canary-20251127-587bc53</release>
6
+ <latest>17.1.0-canary-20251205-a1dedc6</latest>
7
+ <release>17.1.0-canary-20251205-a1dedc6</release>
8
8
  <versions>
9
- <version>17.1.0-canary-20251127-587bc53</version>
9
+ <version>17.1.0-canary-20251205-a1dedc6</version>
10
10
  </versions>
11
- <lastUpdated>20251127152351</lastUpdated>
11
+ <lastUpdated>20251205162334</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- f9f394972d443ae0dfde5907e97650f3
1
+ 2c95b7fcf1991fa68682c38639ebda52
@@ -1 +1 @@
1
- c888b141e928f1bde235b64f13b8e5d93045de70
1
+ f236f00c9fa8651c012b35611df83da089612de5
@@ -1 +1 @@
1
- 3a7c84c7a68041a24451bfc746b5ea9adabda8415aed536015d55c7e53a13284
1
+ a8330e5bfc38be4d4e8e2c55933155f39be42c4ef2b292fa0c008ba2d7f6790e
@@ -1 +1 @@
1
- be1f2f30fc2fe076fe3034caf0d949b158c3e88378cf7c1391a627962841a9d3eb02455b4eb57e81e3b70d5dfd1a98fde77715985844c3533eb62e36a3736fa8
1
+ 6b9c1946dfc6b1fbcb578793e9e09f7b4e1c2c7555856c3f87b901047b9977fe890498b85d2401b433777c591d18b3399f1d1874f44f5df491897deca0d34bf3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-camera",
3
- "version": "17.1.0-canary-20251127-587bc53",
3
+ "version": "17.1.0-canary-20251205-a1dedc6",
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-20251127-587bc53"
40
+ "expo-module-scripts": "5.1.0-canary-20251205-a1dedc6"
41
41
  },
42
42
  "peerDependencies": {
43
- "expo": "55.0.0-canary-20251127-587bc53",
43
+ "expo": "55.0.0-canary-20251205-a1dedc6",
44
44
  "react": "*",
45
45
  "react-native": "*",
46
46
  "react-native-web": "*"
@@ -645,4 +645,7 @@ export declare class CameraNativeModule extends NativeModule<CameraEvents> {
645
645
  readonly getMicrophonePermissionsAsync: () => Promise<PermissionResponse>;
646
646
  readonly requestMicrophonePermissionsAsync: () => Promise<PermissionResponse>;
647
647
  readonly getAvailableVideoCodecsAsync: () => Promise<VideoCodec[]>;
648
+
649
+ readonly Type: Record<keyof CameraType, CameraNativeProps['facing']>;
650
+ readonly FlashMode: Record<keyof FlashMode, CameraNativeProps['flashMode']>;
648
651
  }
@@ -1 +0,0 @@
1
- 93415f2af10442d6d8e46d92db5a26237ec769453c544b9d07ade94dd38a9fd58f5e2fd3a08675ca5f9390d65a6472de57681e69d9e189197649abb70f749a5a
@@ -1 +0,0 @@
1
- f03b1dbefdd513900ebae26a2d5748dc0dbaad23ea042710d70b9cdbc2aa9f51469bb49ce0393c768aa768c247a0b891a973fd02ede99f3380d052ff46008e4e
@@ -1 +0,0 @@
1
- dd484cf90747c0cafb453067ec18d4d99c05880d4cdbe852324c3b7afe04e7ae8c4b50e73f17012db7b5546a3a82826e957c1895fe666f892ed60f84ea2fc217
@@ -1 +0,0 @@
1
- 1a3a219af68d2ed5bcb2ead356ab2ad58893adb9c6c8cc9b45537a0763572bd6b59ae7b5b512396f90098ce18462c2745aaff1e75f641b3088b5cf84c9edebd7