Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Bug] CameraView doesn't work well with Linker #1632

@john-technegol

Description

@john-technegol

Description

xct CameraView works when testing with Debug Build (Visual Studio 2019) when 'Release Build' CameraView page won't load. Narrowed it down to Release config having Linker properties set to 'SDK Assemblies Only' when changed to 'None' the Camera works as expected.

It Appears the linker is removing the code required to use CameraView.

Expected Behavior

Page to open with CameraView

Actual Behavior

Page just doesn't open

Basic Information

Xamarin Community Toolkit 1.2.0

  • Version with issue:
  • Last known good version:
  • IDE: Visual Studio 2019
  • Platform Target Frameworks:
    • Android: API 30

Workaround

Set Linker Properties to None

Metadata

Metadata

Assignees

No one assigned

    Labels

    a/CameraView 📸a/LinkerbugSomething isn't working. Breaky break.s/unverifiedThis issue needs verification/reproduction by a team member. PRs cannot be accepted/merged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions