Skip to content

[camera] Example app shows error when initializing camera app for the first time. #73783

@BeMacized

Description

@BeMacized

A PR to fix this issue has been submitted: flutter/plugins#3406

Currently, when starting a camera in the camera example app on iOS, the user's permission is asked the first time.
This causes the app to become inactive during camera initialization, causing the camera controller to be disposed.
As the camera controller is disposed during initialization, some properties cannot be fetched, resulting in an error being shown to the user:

Screenshot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions