Skip to content

[camerax] Add error handling and documentation for using incompatible concurrent UseCase groups #144414

@camsim99

Description

@camsim99

The CameraX docs describe the UseCases that can be used at the same time, depending on the UseCases that are currently bound to an Android lifecycle and the capabilities of the device running the app. camera_android_camerax currently does nothing to defend against going against these rules, in terms of (potentially)

  • automatically unbinding UseCases,
  • giving helpful error messages,
  • or having documentation inline about these limitations.

For each of the UseCase groupings, these options should be evaluated to help avoid future issues with users attempting illegal combinations of operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listp: cameraThe camera pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions