Skip to content

Add support to make AndroidForegroundService optional to MediaElement #1845

Add support to make AndroidForegroundService optional to MediaElement

Add support to make AndroidForegroundService optional to MediaElement #1845

Triggered via pull request January 22, 2026 07:07
Status Cancelled
Total duration 2m 55s
Artifacts

dotnet-build.yml

on: pull_request
Matrix: Build Library
Matrix: Build Sample App using Latest .NET SDK
release-main
release-main
release-nuget
release-nuget
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 37 warnings
Build Library (windows-latest)
Canceling since a higher priority waiting request for Build-2658 exists
Build Library (windows-latest)
The operation was canceled.
Build Sample App using Latest .NET SDK (windows-latest)
Canceling since a higher priority waiting request for Build-2658 exists
Build Sample App using Latest .NET SDK (windows-latest)
The operation was canceled.
Build Library (macos-26)
Canceling since a higher priority waiting request for Build-2658 exists
Build Library (macos-26)
The operation was canceled.
Build Sample App using Latest .NET SDK (macos-26)
Canceling since a higher priority waiting request for Build-2658 exists
Build Sample App using Latest .NET SDK (macos-26)
The operation was canceled.
Build
Canceling since a higher priority waiting request for Build-2658 exists
Workflow syntax warning: .github/workflows/dotnet-build.yml#L247
.github/workflows/dotnet-build.yml (Line: 247, Col: 21): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?
Build Library (windows-latest)
The 'dotnet-quality' input can be used only with .NET SDK version in A.B, A.B.x, A, A.x and A.B.Cxx formats where the major tag is higher than 5. You specified: 10.0.100. 'dotnet-quality' input is ignored.
Build Library (macos-26): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L107
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIGraphics.BeginImageContextWithOptions(CGSize, bool, NFloat)' is unsupported on: 'ios' 17.0 and later, 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-26): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L117
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIGraphics.GetImageFromCurrentImageContext()' is unsupported on: 'ios' 17.0 and later, 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-26): src/CommunityToolkit.Maui.Core/Views/PaddedButton.macios.cs#L48
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIButton.ContentEdgeInsets' is obsoleted on: 'ios' 15.0 and later (Ignored when 'UIButtonConfiguration' is used.), 'maccatalyst' 15.0 and later (Ignored when 'UIButtonConfiguration' is used.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-26): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L149
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIGraphics.EndImageContext()' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-26): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L148
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIGraphics.GetImageFromCurrentImageContext()' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-26): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L145
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIGraphics.BeginImageContext(CGSize)' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-26): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L117
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIGraphics.GetImageFromCurrentImageContext()' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-26): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L107
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIGraphics.BeginImageContextWithOptions(CGSize, bool, NFloat)' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-26): src/CommunityToolkit.Maui.Core/Views/DrawingView/Service/DrawingViewService.macios.cs#L118
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIGraphics.EndImageContext()' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-26): src/CommunityToolkit.Maui.Core/Views/PaddedButton.macios.cs#L48
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIButton.ContentEdgeInsets' is obsoleted on: 'maccatalyst' 15.0 and later (Ignored when 'UIButtonConfiguration' is used.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-26): src/CommunityToolkit.Maui.Maps/Handler/Map/SerializerContext.shared.cs#L12
There are multiple types named 'Object'. Source was generated for the first one detected. Use 'JsonSerializableAttribute.TypeInfoPropertyName' to resolve this collision. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1031)
Build Library (macos-26): src/CommunityToolkit.Maui.Maps/Handler/Map/SerializerContext.shared.cs#L12
There are multiple types named 'Object'. Source was generated for the first one detected. Use 'JsonSerializableAttribute.TypeInfoPropertyName' to resolve this collision. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1031)
Build Library (macos-26): src/CommunityToolkit.Maui.MediaElement/AppBuilderExtensions.shared.cs#L45
This call site is reachable on: 'Android' 26.0 and later, 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later, 'Tizen' 6.5 and later, 'Windows' 10.0.17763 and later. 'MediaControlsService' is only supported on: 'Android' 26.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-26): src/CommunityToolkit.Maui.MediaElement/AppBuilderExtensions.shared.cs#L45
This call site is reachable on: 'Android' 26.0 and later, 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later, 'Tizen' 6.5 and later, 'Windows' 10.0.17763 and later. 'MediaControlsService' is only supported on: 'Android' 26.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Library (macos-26): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L521
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'AVCaptureConnection.VideoOrientation' is obsoleted on: 'maccatalyst' 17.0 and later (Use VideoRotationAngle instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-26): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L426
This call site is reachable on: 'MacCatalyst' 26.0 and later. 'UIApplication.StatusBarOrientation' is obsoleted on: 'maccatalyst' 9.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-26): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L420
This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIApplication.StatusBarOrientation' is obsoleted on: 'maccatalyst' 9.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-26): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L521
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'AVCaptureConnection.VideoOrientation' is obsoleted on: 'ios' 17.0 and later (Use VideoRotationAngle instead.), 'maccatalyst' 17.0 and later (Use VideoRotationAngle instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-26): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L420
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIApplication.StatusBarOrientation' is obsoleted on: 'ios' 9.0 and later, 'maccatalyst' 9.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-26): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L426
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 26.0 and later. 'UIApplication.StatusBarOrientation' is obsoleted on: 'ios' 9.0 and later, 'maccatalyst' 9.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-26): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L368
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'AVCaptureConnection.VideoOrientation' is obsoleted on: 'ios' 17.0 and later (Use VideoRotationAngle instead.), 'maccatalyst' 17.0 and later (Use VideoRotationAngle instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Library (macos-26)
The 'dotnet-quality' input can be used only with .NET SDK version in A.B, A.B.x, A, A.x and A.B.Cxx formats where the major tag is higher than 5. You specified: 10.0.100. 'dotnet-quality' input is ignored.
Build Sample App using Latest .NET SDK (macos-26): src/CommunityToolkit.Maui.Core/AppBuilderExtensions.shared.cs#L43
This call site is reachable on: 'Android' 21.0 and later, 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later, 'Tizen' 6.5 and later, 'Windows' 10.0.17763 and later. 'DialogFragmentService' is only supported on: 'Android'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Sample App using Latest .NET SDK (macos-26): src/CommunityToolkit.Maui.Core/Handlers/SemanticOrderView/SemanticOrderViewHandler.android.cs#L16
This call site is reachable on: 'Android' 21.0 and later. 'MauiSemanticOrderView' is only supported on: 'Android' 22.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Sample App using Latest .NET SDK (macos-26): src/CommunityToolkit.Maui.Core/Essentials/SpeechToText/OfflineSpeechToTextImplementation.shared.cs#L38
This call site is reachable on: 'Android' 21.0 and later. 'OfflineSpeechToTextImplementation.InternalStartListening(SpeechToTextOptions, CancellationToken)' is only supported on: 'Android' 34.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Sample App using Latest .NET SDK (macos-26): src/CommunityToolkit.Maui.Core/Essentials/FolderPicker/FolderPicker.shared.cs#L8
This call site is reachable on: 'Android' 21.0 and later. 'FolderPickerImplementation' is only supported on: 'Android' 26.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Sample App using Latest .NET SDK (macos-26): src/CommunityToolkit.Maui.Camera/AppBuilderExtensions.shared.cs#L25
This call site is reachable on: 'android' 21.0 and later, 'ios' 15.0 and later, 'maccatalyst' 15.0 and later, 'windows' 10.0.10240.0 and later. 'CameraProvider' is only supported on: 'Android' 21.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Sample App using Latest .NET SDK (macos-26): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L368
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'AVCaptureConnection.VideoOrientation' is obsoleted on: 'ios' 17.0 and later (Use VideoRotationAngle instead.), 'maccatalyst' 17.0 and later (Use VideoRotationAngle instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Sample App using Latest .NET SDK (macos-26): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L521
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'AVCaptureConnection.VideoOrientation' is obsoleted on: 'ios' 17.0 and later (Use VideoRotationAngle instead.), 'maccatalyst' 17.0 and later (Use VideoRotationAngle instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Sample App using Latest .NET SDK (macos-26): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L420
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 15.0 and later. 'UIApplication.StatusBarOrientation' is obsoleted on: 'ios' 9.0 and later, 'maccatalyst' 9.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
Build Sample App using Latest .NET SDK (macos-26): src/CommunityToolkit.Maui.Camera/CameraManager.macios.cs#L426
This call site is reachable on: 'iOS' 15.0 and later, 'maccatalyst' 26.0 and later. 'UIApplication.StatusBarOrientation' is obsoleted on: 'ios' 9.0 and later, 'maccatalyst' 9.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)