github CommunityToolkit/Maui 3.0.0-camera
v3.0.0 Camera: Refactorings!

latest releases: 12.2.0, 3.0.2-camera, 6.1.2-mediaelement...
2 months ago

Breaking Changes

  • CommunityToolkit.Maui.Camera: Refactored ValueTask CameraView.CaptureImage(CancellationToken), CameraView.StartCameraPreview(CancellationToken) and void CameraView.StopCameraPreview() methods

Requirements

The following tools are now required for CommunityToolkit.Maui:

  • Download/install .NET SDK v9.0.300
  • Install Xcode 16.2.0 (or higher)
    • Read the latest .NET MAUI Release wiki to always find the latest-supported version) of Xcode for .NET MAUI
    • We HIGHLY recommend using the open-source tool Xcodes to easily manage your installed Xcode versions
  • Update to the latest stable version of Visual Studio (or Jet Brains Rider)
  • After installing the latest stable .NET SDK, update to the latest stable version of the .NET MAUI workload:
    • On macOS, open the Terminal and enter the following command: sudo dotnet workload install maui; sudo dotnet workload update
    • On Windows, open the command prompt (or Powershell) and enter the following command: dotnet workload install maui && dotnet workload update
  • Add a global.json file to your application with the following parameters to ensure you're not using a unsupported preview version of .NET (example below)
    • The .NET MAUI Community Toolkit does not support preview releases of .NET

global.json

{
  "sdk": {
    "version": "9.0.300", 
    "rollForward": "latestFeature",
    "allowPrerelease": false
  }
}

What's Changed

  • Refactor CameraView.CaptureImage, CameraView.StartCameraPreview and CameraView.StopCameraPreview by @TheCodeTraveler in #2655

Full Changelog: 11.2.0...3.0.0-camera

Don't miss a new Maui release

NewReleases is sending notifications on new releases.