Skip to content

[camera_android_camerax] Modify availableCameras to set camera name to Camera2CameraInfo.getCameraId #147545

@camsim99

Description

@camsim99

Currently, the camera_android_camerax plugin sets the camera name of the available cameras (retrieved via availableCameras) to a random camera name and ID -- see source. To maintain feature parity with camera_android, we should use the value retrieved from Camera2CameraInfo.getCameraId.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectp: cameraThe camera pluginplatform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions