Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance generic app CHT-Core URL configuration with QR code scanning, Fixed bug with formatting in GatewayLog.trace if message contains "%" #190

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nitramb
Copy link

@nitramb nitramb commented Feb 28, 2024

Added *.jks to gitignore.

Escape "%" characters in messages before formatting in GatewayLog.trace
- Fixes a bug where "%" characters in messages caused formatting errors by interpreting them as format specifiers.
- Implements escaping of "%" characters to "%%" before applying String.format, ensuring the raw message content is preserved without interfering with the formatting process.

Enhance app configuration with QR code scanning
- Add ZXing library dependencies for QR code scanning support.
- Integrate camera permission request to enable QR code scanning.
- Implement QR code scanning functionality in SettingsDialogActivity.
- Update UI to include a camera icon for triggering QR code scanning.
- Add new strings for camera permission prompt and QR code scan action.

This update simplifies the app configuration process by allowing users to scan QR codes to input URLs, improving usability and efficiency.

- Fixes a bug where "%" characters in messages caused formatting errors by interpreting them as format specifiers.
- Implements escaping of "%" characters to "%%" before applying String.format, ensuring the raw message content is preserved without interfering with the formatting process.
- Add ZXing library dependencies for QR code scanning support.
- Integrate camera permission request to enable QR code scanning.
- Implement QR code scanning functionality in SettingsDialogActivity.
- Update UI to include a camera icon for triggering QR code scanning.
- Add new strings for camera permission prompt and QR code scan action.

This update simplifies the app configuration process by allowing users to scan QR codes to input URLs, improving usability and efficiency.
@nitramb nitramb changed the title Enhance app configuration with QR code scanning, also escape "%" characters in messages before formatting in GatewayLog.trace Enhance app configuration with QR code scanning, Fixed bug with formatting in GatewayLog.trace if message contains "%" Feb 28, 2024
@nitramb nitramb marked this pull request as ready for review February 28, 2024 02:05
@nitramb nitramb changed the title Enhance app configuration with QR code scanning, Fixed bug with formatting in GatewayLog.trace if message contains "%" Enhance generic app CHT-Core URL configuration with QR code scanning, Fixed bug with formatting in GatewayLog.trace if message contains "%" Feb 28, 2024
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.

None yet

1 participant