Files
grayjay/app
Trevor 6e58107a5e Fix QR code size validation to use byte count instead of character count
- Replace character-based limit with byte-based limit using UTF-8 encoding
- QR codes are limited by bytes, not characters (1 char can be 1-4 bytes in UTF-8)
- Set limit to 2300 bytes (QR Code Version 40 with Error Correction Level M can hold ~2331 bytes)
- Update error logging to show both character count and byte size for debugging
- Apply fix to both PolycentricBackupActivity and QRCodeFullscreenActivity

This should now correctly handle strings with multi-byte characters and provide
accurate size validation for QR code generation.
2025-08-19 11:19:11 -05:00
..
2023-09-25 17:18:43 +02:00
2023-09-25 17:18:43 +02:00