Skip to content

Conversation

@jamesatomc
Copy link
Owner

This pull request introduces several improvements focused on user privacy, UI consistency, and feature enhancements for both Android and iOS platforms. The most notable changes include enforcing screen capture protection, updating Android SDK versions, refining theme-based UI elements, and adding a QR code scanner for SUI wallet address entry.

Privacy and Security Enhancements

  • Android screen capture protection: The MainActivity now sets FLAG_SECURE to prevent screenshots and screen recording, ensuring sensitive content is protected. (android/app/src/main/kotlin/site/kanari/kanaripay/MainActivity.kt, android/app/src/main/kotlin/site/kanari/kanaripay/MainActivity.ktR3-R19)
  • iOS privacy overlay: The AppDelegate detects screen capture and screenshots, overlaying the app with a privacy screen when needed to protect sensitive information. (ios/Runner/AppDelegate.swift, ios/Runner/AppDelegate.swiftR6-R86)

Platform and Build Updates

  • Explicit Android SDK versions: The compileSdk and targetSdk are set to 36 in android/app/build.gradle.kts to support newer Android features and attributes. [1] [2]

UI Consistency and Theming

  • Consistent icon coloring: Multiple screens now use Theme.of(context).iconTheme.color for icons, falling back to primaryColor to ensure icons match the app's theme. [1] [2] [3] [4] [5] [6]
  • Refined SendScreen labels: The send screen title is updated for clarity, now reading "Send Coin(ERC20)".

Feature Enhancements

  • QR code scanner for SUI send: A QR code scanner is added to the SUI send screen, allowing users to scan wallet addresses directly for convenience and accuracy. (lib/screenpage/SendSuiScreen.dart, [1] [2] [3] [4]

Miscellaneous

  • Immersive fullscreen mode: The app now enters immersive fullscreen mode on startup, hiding the status bar for improved privacy and focus. (lib/main.dart, lib/main.dartR13-R15)
  • VSCode configuration: A settings file is added for file associations and CMake source directory setup. (.vscode/settings.json, .vscode/settings.jsonR1-R6)

These changes collectively improve privacy, user experience, and maintainability across the app.

…rformance

- Cleaned up WalletScreen.dart by removing unnecessary whitespace and optimizing print statements for better readability.
- Enhanced loading indicators and balance calculations for better user experience.
- Updated AppTheme.dart to reflect a more elegant color palette and refined spacing, border radius, and shadow effects.
- Improved button styles in custom_widgets.dart for better visual consistency across the app.
- Adjusted text styles in BalanceCard and ActionButton for improved readability and alignment with the new theme.
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.

2 participants