Skip to content

Camera crashing the app #758

@thiagomachado1998

Description

@thiagomachado1998

Terminating app due to uncaught exception 'NSGenericException', reason: '*** -[AVCaptureSession startRunning] startRunning may not be called between calls to beginConfiguration and commitConfiguration'
*** First throw call stack:
(0x197bfb994 0x194b15814 0x1bdbec460 0x10de3599c 0x10ced8c18 0x1cff94adc 0x1cffae7ec 0x1cff9d468 0x1cff9df44 0x1cffa83ec 0x1cffa7ce4 0x1f3b9e3b8 0x1f3b9d8c0)
libc++abi: terminating due to uncaught exception of type NSException

react native 0.79.6
react native camera kit 16.1.3

This error occurs when you open and close the camera quickly.

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