This repository was archived by the owner on Apr 9, 2025. It is now read-only.
Update#1
Open
emilienbidet wants to merge 316 commits into
Open
Conversation
V5 is huge. <img src="https://i.pinimg.com/originals/16/7f/75/167f75d8b3a387e66896316ea084fec8.gif" /> Read the full blog post for more information: https://blog.margelo.com/whats-new-in-visioncamera-v5
* fix: Use `DynamicRangeBitDepth` to avoid unsafe enum case names * Update ResolvableConstraint+VideoDynamicRangeConstraint.swift * Update ResolvableConstraint+VideoDynamicRangeConstraint.swift
…VisionCamera.createNormalizedMeteringPoint(...)` (#3742)
Add 'worklet' directive to getCurrentThreadMarker
* docs: Add note about disposing `Photo` when no longer used * Update CameraPhotoOutput.nitro.ts
…lash for now (#3754) * fix: Rename `Orientation` to `CameraOrientation` to workaround name clash for now * Rename everything * lint all
…rename (#3757) The rename in #3754 (Orientation to CameraOrientation) also replaced references to UIKit's nested UIImage.Orientation enum, which caused iOS builds to fail with: 'CameraOrientation' is not a member type of class 'UIKit.UIImage' UIImage is an Apple UIKit class and its nested enum is literally named Orientation, so the references must remain UIImage.Orientation. UIImageOrientation+exif.swift already uses the correct name, which is how the partial rename was spotted. Affected (8 occurrences across 7 files): - packages/react-native-vision-camera/ios/Extensions/Converters/UI+CameraOrientation.swift (x3) - packages/react-native-vision-camera/ios/Extensions/AVFoundation/AVCapturePhoto+getMediaSampleMetadata.swift - packages/react-native-vision-camera/ios/Extensions/AVFoundation/AVDepthData+toUIImage.swift - packages/react-native-vision-camera/ios/Extensions/CoreMedia/CMSampleBuffer+toUIImage.swift - packages/react-native-vision-camera/ios/Extensions/CIImage+toUIImage.swift - packages/react-native-vision-camera/ios/Public/MediaSampleMetadata.swift - packages/react-native-vision-camera-barcode-scanner/ios/Extensions/UI+CameraOrientation.swift
* docs: Add JSON+LD data * Use Organization as publisher * link to margelo too
chore: Upgrade Nitro to 0.36.1.
* feat: Support `getDefaultCamera('external')` on Android too
* fix: Replace `CameraPosition` with `TargetCameraPosition`
* add getDefaultCamera test
* guard ios 17 external
* docs: Add Amazon Shopping to showcase * add numbers for amazon * Add OnePay finance * Use B for billion number * order by downloads * 10 more * appstore url is now optional * add more * sort * Update production-apps-showcase.tsx * chore: add `.tmp` to gitignore
* feat: Better `useCameraDevice(...)` including default Cameras * kinda fix with latest main * mark deprecated * Use `Set` * Update useCamera.ts
* chore: Test Frame Output pixel formats end-to-end * test: inline frame pixel format cases
* chore: Test that no `'unknown'` cases exist * way simpler test lol * chore: Also test Pixel Format and Container Format
…onfiguration (#4057) * feat: Add support for passing declarative position to Camera Device configuration * use extension method for default for * implement Swift first idea * fix: Resolve Connections upfront (#4059) * fix: Resolve connections upfront * WIP * ughhhh * rename * Resolve for input * Update HybridCameraSession.swift * Restructure ResolvedCameraSessionConnection to map 1:1 * uhm? * Update HybridCameraController.swift * it builds * custom config type ig * Move out * extract * chore: Lint * remove dead code * impl android hihi * Update ResolvableConstraint+AVAutoFocusSystem.swift * Update CameraSessionConnection+getCameraInfo.kt * chore: Add test for `input: TargetCameraPosition` * re-use CameraSession * Add outputs to the test too * docs * fix: Make `useCameraDeviceExtensions` use `useCameraDeviceFactory()` * Update docs to remove deprecated APIs * clean up
…4062) * chore: Add hook tests * fix: Fix `useCameraDevice` stale on position switch * fix promise rejection deferred test
* fix: Fix unknown Pixel Formats (specifically rgb) * docs * Update PixelFormat+fromImageFormat.kt * remove pixelFormat constraint test
* docs: Add more apps to showcase * add evernote and magicplan * add ATT lol * add more * add momo and sunoco * add guess up, luxer one and party lab * add holodex and mychoice benefits
Bumps the camera-libs group with 1 update in the /packages/react-native-vision-camera-barcode-scanner/android directory: androidx.camera:camera-core. Bumps the camera-libs group with 7 updates in the /packages/react-native-vision-camera/android directory: | Package | From | To | | --- | --- | --- | | androidx.camera:camera-core | `1.7.0-alpha01` | `1.7.0-alpha02` | | androidx.camera:camera-camera2 | `1.7.0-alpha01` | `1.7.0-alpha02` | | androidx.camera:camera-camera2-pipe | `1.7.0-alpha01` | `1.7.0-alpha02` | | androidx.camera:camera-lifecycle | `1.7.0-alpha01` | `1.7.0-alpha02` | | androidx.camera:camera-video | `1.7.0-alpha01` | `1.7.0-alpha02` | | androidx.camera:camera-view | `1.7.0-alpha01` | `1.7.0-alpha02` | | androidx.camera:camera-extensions | `1.7.0-alpha01` | `1.7.0-alpha02` | Updates `androidx.camera:camera-core` from 1.7.0-alpha01 to 1.7.0-alpha02 Updates `androidx.camera:camera-core` from 1.7.0-alpha01 to 1.7.0-alpha02 Updates `androidx.camera:camera-camera2` from 1.7.0-alpha01 to 1.7.0-alpha02 Updates `androidx.camera:camera-camera2-pipe` from 1.7.0-alpha01 to 1.7.0-alpha02 Updates `androidx.camera:camera-lifecycle` from 1.7.0-alpha01 to 1.7.0-alpha02 Updates `androidx.camera:camera-video` from 1.7.0-alpha01 to 1.7.0-alpha02 Updates `androidx.camera:camera-view` from 1.7.0-alpha01 to 1.7.0-alpha02 Updates `androidx.camera:camera-extensions` from 1.7.0-alpha01 to 1.7.0-alpha02 Updates `androidx.camera:camera-camera2` from 1.7.0-alpha01 to 1.7.0-alpha02 Updates `androidx.camera:camera-camera2-pipe` from 1.7.0-alpha01 to 1.7.0-alpha02 Updates `androidx.camera:camera-lifecycle` from 1.7.0-alpha01 to 1.7.0-alpha02 Updates `androidx.camera:camera-video` from 1.7.0-alpha01 to 1.7.0-alpha02 Updates `androidx.camera:camera-view` from 1.7.0-alpha01 to 1.7.0-alpha02 Updates `androidx.camera:camera-extensions` from 1.7.0-alpha01 to 1.7.0-alpha02 --- updated-dependencies: - dependency-name: androidx.camera:camera-core dependency-version: 1.7.0-alpha02 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: camera-libs - dependency-name: androidx.camera:camera-core dependency-version: 1.7.0-alpha02 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: camera-libs - dependency-name: androidx.camera:camera-camera2 dependency-version: 1.7.0-alpha02 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: camera-libs - dependency-name: androidx.camera:camera-camera2-pipe dependency-version: 1.7.0-alpha02 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: camera-libs - dependency-name: androidx.camera:camera-lifecycle dependency-version: 1.7.0-alpha02 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: camera-libs - dependency-name: androidx.camera:camera-video dependency-version: 1.7.0-alpha02 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: camera-libs - dependency-name: androidx.camera:camera-view dependency-version: 1.7.0-alpha02 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: camera-libs - dependency-name: androidx.camera:camera-extensions dependency-version: 1.7.0-alpha02 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: camera-libs - dependency-name: androidx.camera:camera-camera2 dependency-version: 1.7.0-alpha02 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: camera-libs - dependency-name: androidx.camera:camera-camera2-pipe dependency-version: 1.7.0-alpha02 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: camera-libs - dependency-name: androidx.camera:camera-lifecycle dependency-version: 1.7.0-alpha02 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: camera-libs - dependency-name: androidx.camera:camera-video dependency-version: 1.7.0-alpha02 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: camera-libs - dependency-name: androidx.camera:camera-view dependency-version: 1.7.0-alpha02 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: camera-libs - dependency-name: androidx.camera:camera-extensions dependency-version: 1.7.0-alpha02 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: camera-libs ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: Fix `getSupportedResolutions('video')` crashing on some Android phones
* Actually nvm use Camera2 sizes again.
…#4077) * fix: Fix `getSupportedResolutions('photo')` throwing on some Androids * fix: More things can be nullable apparently
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Changes
Tested on
Related issues