Skip to content

Conversation

@dikshantbhangala
Copy link

#25 done with the changes required
Chat Screen (chart_page.dart) Updates

  • Added logic to decrypt RSA-encrypted messages before displaying them.
  • Integrated pointycastle library for handling RSA encryption.
  • Grouped Messages by Date:
  • Grouped chat messages based on the timestamp for better organization

File Attachments:

  • Added support for displaying file messages with a file preview option using FilePreview.
  1. Global Variables and Logic (global.dart)
  • Added variables to hold the RSA private key for decryption (myPrivateKey).
  • Updated logic to handle message types (e.g., text, file) globally.
  • Restructured data format to support file message metadata (fileName, filePath).

Communication Service (communication_service.dart)

  • Integrated encryption for outgoing messages.
  • Added support for sending file metadata (e.g., file path, file name).
  • Handled exceptions for failed message sending scenarios.

Profile Screen Updates (profile.dart)

  • Minor UI adjustments for better user experience.
  • Resolved dynamic data rendering issues for profile details.

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