I am back to ask you something : well, i have this project GroupeV6.aia (2.2 MB) and on the screen “discussioncompte” when i send a message on the app (chat app with google account picker) and i have this :
why this appear? and when i try to send a image i get a error : “error runtime : childname cannot be null or empry” and a button “end application”. I really don’t know how to solve it…
thanks for the help
Hi @JeS_appelle_GROOT ,
May be you can store your tiny db data in variables instead of getting in the add message method directly.Also,You are storing in your firebase a list of your name,profile image and message…So when the data changed and you try to add the messgae to the chat view…You are setting the message parameter as list not a string which is the value…So consider try using select list item from the value…with index 3…like this:
Hey! @ Mohamed_Tamer
thanks for the help ! it solve the first mystake !
now as i said early, i have another error when i’m trying to send picture. This is because i don’t put a upload path? if yes, how could i choose it?
thanks
@Mohamed_Tamer
Hello again , i’m sorry to go back here but i have the same problem : the picture who i send doesn’t appear for the other device here is the code
can you help me? so : i need that : after picking an image and press the button "envoyer l’image (send the image in english) and after this the picture takes the place of the image1 and can be see for the others users…
I want to understand something…After upload success event triggered you only show the image in the image component…You must add the download link to firebase db … It’s not enough to upload the image to firebase storage…You must upload it to firebase db as it’s the database that all your messages are stored in…
What you need is to store the download url in firebase db using the store block…And use the block add image message in the chat view to add the image with the path set to the download url…