Skip to content

Tags: CommunityToolkit/Maui

Tags

14.0.1

Toggle 14.0.1's commit message
`dotnet format`

8.0.1-mediaelement

Toggle 8.0.1-mediaelement's commit message
`dotnet format`

14.0.0

Toggle 14.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add support to make AndroidForegroundService optional to MediaElement (

…#2658)

8.0.0-mediaelement

Toggle 8.0.0-mediaelement's commit message
`dotnet format`

6.0.0-camera

Toggle 6.0.0-camera's commit message
`dotnet format`

13.0.0

Toggle 13.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update Xcode version to 26.1 in build workflow

7.0.0-mediaelement

Toggle 7.0.0-mediaelement's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update Xcode version to 26.1 in build workflow

5.0.0-camera

Toggle 5.0.0-camera's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update Xcode version to 26.1 in build workflow

4.0.0-maps

Toggle 4.0.0-maps's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update Xcode version to 26.1 in build workflow

12.3.0

Toggle 12.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix camera package fails to build with latest Maui version (#2916)

* Improve null safety and update dependencies

Enhanced null safety across CameraManager.android.cs by adding null-conditional operators (`?`) to prevent potential null reference exceptions. Updated `CameraViewPage.xaml` to bind `Picker` to `SelectedCamera.Name` for accurate UI display.

Upgraded `Xamarin.AndroidX.Camera` dependencies to version 1.5.0 and added `Xamarin.AndroidX.Activity.Ktx` for improved functionality and compatibility. Adjusted `CameraProvider.android.cs` to handle null values and ensure robust camera initialization.

* Improve camera binding, resolution, and recording quality

Updated CameraViewPage.xaml to fix data binding issues by modifying the `ItemDisplayBinding` property of the `Picker`.

Enhanced CameraManager.android.cs with the following changes:
- Improved resolution selection logic in `UpdateCaptureResolution` by prioritizing higher resolution over capture rate.
- Enhanced image capture quality in `StartUseCase` by setting capture mode to maximize quality and applying the resolution selector.
- Added audio support and proper initialization for video recording in `PlatformStartVideoRecording`.

These changes improve the overall functionality and quality of the camera features.

* Update src/CommunityToolkit.Maui.Camera/CameraManager.android.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Ignore the camera if `Camera2CameraInfo.From` returns `null`

* Update Builder Patterns

* Update CameraProvider.android.cs

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Brandon Minnick <13558917+TheCodeTraveler@users.noreply.github.com>