Skip to content

Conversation

@mSimota
Copy link

@mSimota mSimota commented Oct 1, 2025

Description

Updated QRCode package dependency from WalletConnect fork to the official dagronf/QRCode repository and upgraded to version 27.11.0. This change includes:

• Switched QRCode package source from https://github.com/WalletConnect/QRCode to https://github.com/dagronf/QRCode.git
• Upgraded QRCode from version 14.3.1 to 27.11.0
• Updated related dependencies (swift-qrcode-generator from 1.0.3 to 2.0.2, SwiftImageReadWrite from 1.1.6 to 1.9.2)
• Modified QRCodeView.swift to handle API changes with proper error handling using optional binding and fallback images
• Added required reset() method implementations for custom QRCode shape extensions

This update provides access to the latest QRCode features and improvements while maintaining backward compatibility through error handling.

How Has This Been Tested?

Please test the following scenarios:
• Verify QR code generation still works correctly in the ConnectWallet screen
• Test QR code rendering with various content lengths and sizes
• Ensure fallback behavior works when QR code generation fails (should show "x.mark" system icon)
• Validate that the custom Squircle2 eye shape and pupil shapes still render correctly

To reproduce:

  1. Navigate to the ConnectWallet screen
  2. Verify QR code displays properly
  3. Test with different wallet connection URIs

Due Diligence

No breaking change (API changes were handled with backward compatibility)

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 1, 2025

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