Skip to content

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

Closed
flutter/packages
#6608

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.

Activity

  1. added
    packageflutter/packages repository. See also p: labels.
    P2Important issues not at the top of the work list
    team-androidOwned by Android platform team
    triaged-androidTriaged by Android platform team
    platform-androidAndroid applications specifically
    on Feb 29, 2024
  2. github-actions commented on May 20, 2024

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  3. locked as resolved and limited conversation to collaborators on May 20, 2024
  4. camsim99 commented on Jun 17, 2024

    @camsim99
    ContributorAuthor

    Just want to note that fixing this notably fixed #146395

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions