diff --git a/.github/workflows/build-ios.yml b/.github/workflows/build-ios.yml index 1a724f6e39..1ea5004c4f 100644 --- a/.github/workflows/build-ios.yml +++ b/.github/workflows/build-ios.yml @@ -113,6 +113,6 @@ jobs: -scheme VisionCameraExample \ -sdk iphonesimulator \ -configuration Debug \ - -destination 'platform=iOS Simulator,name=iPhone 15' \ + -destination 'platform=iOS Simulator,name=iPhone 17' \ build \ CODE_SIGNING_ALLOWED=NO | xcpretty" diff --git a/.github/workflows/validate-cpp.yml b/.github/workflows/validate-cpp.yml index b73832a024..78fff90f05 100644 --- a/.github/workflows/validate-cpp.yml +++ b/.github/workflows/validate-cpp.yml @@ -28,7 +28,7 @@ jobs: - name: Run clang-format style check uses: mrousavy/clang-format-action@v1 with: - clang-format-version: '16' + clang-format-version: '21' check-path: ${{ matrix.path }} clang-format-style-path: package/.clang-format diff --git a/package/android/src/main/cpp/frameprocessors/FrameHostObject.cpp b/package/android/src/main/cpp/frameprocessors/FrameHostObject.cpp index 09970a9a6a..cf229ee5fb 100644 --- a/package/android/src/main/cpp/frameprocessors/FrameHostObject.cpp +++ b/package/android/src/main/cpp/frameprocessors/FrameHostObject.cpp @@ -55,7 +55,7 @@ std::vector FrameHostObject::getPropertyNames(jsi::Runtime& rt) return result; } -#define JSI_FUNC [=](jsi::Runtime & runtime, const jsi::Value& thisValue, const jsi::Value* arguments, size_t count) -> jsi::Value +#define JSI_FUNC [=](jsi::Runtime & runtime, const jsi::Value& thisValue, const jsi::Value* arguments, size_t count)->jsi::Value jsi::Value FrameHostObject::get(jsi::Runtime& runtime, const jsi::PropNameID& propName) { auto name = propName.utf8(runtime); diff --git a/package/ios/Core/CameraConfiguration.swift b/package/ios/Core/CameraConfiguration.swift index a4b94dd377..070c4c147b 100644 --- a/package/ios/Core/CameraConfiguration.swift +++ b/package/ios/Core/CameraConfiguration.swift @@ -46,6 +46,8 @@ final class CameraConfiguration { // Exposure var exposure: Float? + var exposureDuration: Double? + var iso: Float? // isActive (Start/Stop) var isActive = false @@ -53,6 +55,10 @@ final class CameraConfiguration { // Audio Session var audio: OutputConfiguration