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

Send Images #13

Open
xLidoni opened this issue Jan 12, 2021 · 1 comment
Open

Send Images #13

xLidoni opened this issue Jan 12, 2021 · 1 comment

Comments

@xLidoni
Copy link

xLidoni commented Jan 12, 2021

Hello! There is a way to send images?

@andrii-iakovenko
Copy link
Contributor

You can encrypt your image and store to a database.

  1. Encrypt your image with eThree.encryptShared method
  2. Store encrypted file in a database as ParseFile
  3. Create FileMessage that inherits ParseObject that contains an identifier of a file (see Message class as an example in this demo)
  4. Send created FileMessage to chat
    File could be decrypted wtih eThree.decryptShared method

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

No branches or pull requests

2 participants