fix: Fix CI for V3 (#1475)
* fix: Fix CI for "Build Android" * update versions * Update Gemfile.lock * format swift * fix: Fix swift lint * Update .swiftlint.yml * Use C++17 for lint * fix: Fix C++ lints
This commit is contained in:
@@ -22,8 +22,6 @@ opt_in_rules:
|
||||
- vertical_whitespace_opening_braces
|
||||
- vertical_whitespace_closing_braces
|
||||
- vertical_parameter_alignment_on_call
|
||||
- unused_import
|
||||
- unused_declaration
|
||||
- untyped_error_in_catch
|
||||
- unowned_variable_capture
|
||||
- unavailable_function
|
||||
@@ -37,7 +35,10 @@ opt_in_rules:
|
||||
- redundant_nil_coalescing
|
||||
- attributes
|
||||
- convenience_type
|
||||
analyzer_rules:
|
||||
- explicit_self
|
||||
- unused_declaration
|
||||
- unused_import
|
||||
|
||||
excluded: # paths to ignore during linting. Takes precedence over `included`.
|
||||
- Pods
|
||||
|
@@ -144,7 +144,8 @@ extension CameraView {
|
||||
} else {
|
||||
ReactLogger.log(level: .error, message: "Cannot resume interrupted Audio Session!")
|
||||
}
|
||||
@unknown default: ()
|
||||
@unknown default:
|
||||
()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -212,7 +212,7 @@ extension CameraView: AVCaptureVideoDataOutputSampleBufferDelegate, AVCaptureAud
|
||||
|
||||
if let frameProcessor = frameProcessorCallback, captureOutput is AVCaptureVideoDataOutput {
|
||||
// Call the JavaScript Frame Processor func (worklet)
|
||||
let frame = Frame(buffer: sampleBuffer, orientation: self.bufferOrientation)
|
||||
let frame = Frame(buffer: sampleBuffer, orientation: bufferOrientation)
|
||||
frameProcessor(frame)
|
||||
}
|
||||
}
|
||||
|
@@ -34,7 +34,7 @@ final class CameraViewManager: RCTViewManager {
|
||||
// Runs on JS Thread
|
||||
runtimeManager = FrameProcessorRuntimeManager()
|
||||
runtimeManager!.installFrameProcessorBindings()
|
||||
return NSNumber(booleanLiteral: true)
|
||||
return true as NSNumber
|
||||
}
|
||||
|
||||
@objc
|
||||
|
Reference in New Issue
Block a user