Skip to content

iOS: Native exception - NSInvalidArgumentException closure in RealCamera.capturePicture #688

@pranshuchittora

Description

@pranshuchittora

Describe the bug
Seeing a native exception on iOS

NSInvalidArgumentException closure in RealCamera.capturePicture
*** -[AVCapturePhotoOutput capturePhotoWithSettings:delegate:] No active and enabled video connection

Screenshot 2024-12-20 at 12 53 18

To Reproduce
Steps to reproduce the behavior:

  1. Not sure

Expected behavior
No native exception

Screenshots

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
On latest rn-camera-kit
"react-native-camera-kit": "14.1.0",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions