Skip to content

Document CameraView's MediaCaptured handler errors, the CameraX 1.5.3.1 requirement, the Android 8.x preview and the .NET MAUI 11.0.10 minimum (CommunityToolkit.Maui #3433) - #683

Draft
Brandon Minnick (TheCodeTraveler) wants to merge 3 commits into
MicrosoftDocs:mainfrom
TheCodeTraveler:docs/pr-3433-cameraview-maui-11010

Conversation

@TheCodeTraveler

@TheCodeTraveler Brandon Minnick (TheCodeTraveler) commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

This PR coincides with the work done in CommunityToolkit.Maui PRs CommunityToolkit/Maui#3433 and CommunityToolkit/Maui#3450.

  • camera-view.md:
    • A MediaCaptured handler that throws no longer ends the capture: MediaCaptureFailed is raised once with that exception's message, and CaptureImage returns the image. The MediaCaptureFailed event row and the CaptureImage method row say the same.
    • Breaking change after v17.0.0 block: the old behavior per platform, and what to do instead of catching the exception around CaptureImage (iOS and Mac Catalyst threw it).
    • CameraView: Report Exceptions From MediaCaptureFailed Handlers Through ErrorOccurred, and Fix an Android NativeAOT Crash CommunityToolkit/Maui#3450: a MediaCaptureFailed handler that throws is written to the trace output and reported through ErrorOccurred, and CaptureImage keeps its result. A note, a second breaking change block, and the MediaCaptureFailed, ErrorOccurred and CaptureImage rows say so.
    • Android setup: an app that references CameraX directly must use 1.5.3.1. An older version fails restore with NU1605, and 1.6 or later gives NU1608 warnings.
    • PlatformViewFactory, Android: on Android 8.0 and 8.1, the PreviewView that CameraView creates renders through a TextureView; a PreviewView from the factory keeps its own ImplementationMode.
  • index.md: the toolkit needs .NET MAUI 11.0.10 or later after v17.0.0, because 11.0.0 crashes on iOS 17 and earlier ([iOS] Replace managed KVO observers with a Swift-owned observation to fix a crash in -[UIView dealloc] on iOS 17 dotnet/maui#38662).
  • Updates ms.date on both pages.

This stays a draft until the CommunityToolkit.Maui release that ships CommunityToolkit/Maui#3433 and CommunityToolkit/Maui#3450 is published.

🤖 Generated with Claude Code

…eview mode, and .NET MAUI 11.0.10 minimum

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 71b8f6d:

✅ Validation status: passed

File Status Preview URL Details
docs/maui/index.md ✅Succeeded View
docs/maui/views/camera-view.md ✅Succeeded View

For more details, please refer to the build report.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@TheCodeTraveler Brandon Minnick (TheCodeTraveler) changed the title Document CameraView's MediaCaptured handler errors, the Android 8.x preview and the .NET MAUI 11.0.10 minimum (CommunityToolkit.Maui #3433) Document CameraView's MediaCaptured handler errors, the CameraX 1.5.3.1 requirement, the Android 8.x preview and the .NET MAUI 11.0.10 minimum (CommunityToolkit.Maui #3433) Nov 21, 2026
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit b0e935b:

✅ Validation status: passed

File Status Preview URL Details
docs/maui/index.md ✅Succeeded View
docs/maui/views/camera-view.md ✅Succeeded View

For more details, please refer to the build report.

…gh ErrorOccurred (CommunityToolkit/Maui#3450)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

PoliCheck Scan Report

The following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans.

✅ No issues found

More information about PoliCheck

Information: PoliCheck | Severity Guidance | Term
For any questions: Try searching the learn.microsoft.com contributor guides or post your question in the Learn support channel.

@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 4feebfa:

✅ Validation status: passed

File Status Preview URL Details
docs/maui/index.md ✅Succeeded View
docs/maui/views/camera-view.md ✅Succeeded View

For more details, please refer to the build report.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant