Skip to content

Enable QR scanning only if it's supported#189

Merged
vicocz merged 1 commit intodefaultfrom
local/detect-camera-presence-qr-scanning
Dec 17, 2025
Merged

Enable QR scanning only if it's supported#189
vicocz merged 1 commit intodefaultfrom
local/detect-camera-presence-qr-scanning

Conversation

@vicocz
Copy link
Owner

@vicocz vicocz commented Dec 17, 2025

No description provided.

@vicocz vicocz added this to the 2025.6 milestone Dec 17, 2025
@vicocz vicocz requested a review from Copilot December 17, 2025 21:16
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the QR scanning functionality to only be enabled on platforms that support barcode scanning. The changes update the ZXing.Net.Maui.Controls package to version 0.7.1 and add conditional enabling of QR scan commands based on platform support.

Key Changes:

  • Updated ZXing.Net.Maui.Controls from version 0.7.0 to 0.7.1
  • Added platform support checks to ScanSequenceCommand and ScanCreationCommand using BarcodeScanning.IsSupported

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
Directory.Packages.props Updated ZXing.Net.Maui.Controls package version to 0.7.1
SequenceListPageViewModel.cs Added BarcodeScanning.IsSupported check to conditionally enable sequence QR scanning
CreationListPageViewModel.cs Added BarcodeScanning.IsSupported check to conditionally enable creation QR scanning

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@vicocz vicocz added the enhancement New feature or request label Dec 17, 2025
@vicocz vicocz marked this pull request as ready for review December 17, 2025 21:22
@vicocz vicocz merged commit b09df10 into default Dec 17, 2025
5 checks passed
@vicocz vicocz deleted the local/detect-camera-presence-qr-scanning branch December 31, 2025 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants