-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add functionality to send pictures in chat #36
Comments
Hi. Can I work on this issue ? |
Hey, @nguyenhung15913 are you still working on this? |
Hi, I wanted to know if I can make this issue ? |
Hey @zolezzi are you still working on this? |
@X-TRON404 sorry, i just read the message, i'm working on this! |
Hi, I spoke to you through discord for a problem I have to show the images |
Hi since yesterday the firebase responds with error from home |
I can't see any messages in discord. |
Yes, I just saw that. There was some problem with current firebase rules. I will change the rules and it should be fine. |
Currently, MyPal only supports sending text-based messages in the chat.
The goal is to add functionality to send pictures in the chat.
I have written the sample code for the component and styles for the implementation of the functionality in SendMessage.js and
SendMessage.css
files.The code for the screenshot above:
in SendMessage.js:
in SendMessage.css
The
<SendMessage/>
component has the code to input messages to the user. The functionality to send images to user must be implemented in this component. The image URL will be stored in the firebase realtime database in the same location as the text-only messages.Finally, a custom component for ImageBasedMessages will receive and output the JSON data fetched from the database. For reference you can take a look at
Message.js
fileThe text was updated successfully, but these errors were encountered: