Skip to content

iOS - use hardware button to take photo while using live preview #118

@nmartinez-fieldwire

Description

@nmartinez-fieldwire

I have an app that uses live preview to monitor the camera image and a virtual shutter button to take photos. This works as expected. However, the camera hardware shutter button throws a generic KotlinException error and the live preview is stopped. I am using code from the iOS demo app and experiencing this problem.

How can I take a photo using the hardware shutter button and have it react the same as the takePicture() func in the demo app (alerting me an image has been taken by the hardware, and passing a download url)?

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