Skip to content

takePicture() freezes on API 33. #424

@RobinFarmer

Description

@RobinFarmer

Please check if your issue exists.

Issues should only be posted after you have been able to reproduce them and confirm that they are either a missing functionality or a bug.

What are you trying to achieve or the steps to reproduce?

When trying to run the sample app on a Google Pixel running on API 33 (Android 13, TIRAMISU) taking a photo just freezes the preview and it never actually completes.

In the Log I can see the following being logged:

E/Camera: Error 2
E/Camera: Error 1

How did you initialize FA?

Just using the sample app, the only I changed was the sdk version inside of the top level build.gradle to support api 33.

sdk    : [
    minimum: 30,
    target : 33
],

What was the result you received?

Preview freezes and no picture is taken successfully.

What did you expect?

Normal camera behavior where the picture is taken and the preview just stays active.

Context:

  • FA version: 2.7.0
  • Devices/APIs affected: I used the Pixel 6 with API version 33.
  • any other relevant information: N/A

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