How to upload username to firebase and use it in chatview

Hi guys!
so I’m trying to make chat app with firebase and I’m struggling to make the username works
currently I’ve got it to work but with H U G E bugs like the same username appears to another person

Does anybody know a way of making this work?

like how can I upload username to use it in chat view
thanks.

1 Like

Yup… You can check username available in the list if yes then show username already in used… try different username…


that’s how my code works
IDK how to make username work properly

that’s what I’m using for chat view
is there anything wrong?

What textbox 1 contain

it contains username

Ok so to check wether username is already available during sign up .
I am sending you block wait.

and also when I use the username from TinyDB it works
but when other people send a message, their username appears as my username
when they send the second message it appears ok

What causes that?

This method is to check whether username is already available in app…

1 Like

OK that solved this problem
how about that in the top
can I send a video?

Ya show me… What’s the error…

when I use the username from TinyDB it works
but when other people send a message, their username appears as my username
when they send the second message it appears ok

What causes that?

I think you have more blocks… Show all the blocks

ok
can I send u the project?
so u can check it out

Ya better option.

1 Like

Bteg.aia (497.8 KB)

to see the problem go to VBCHAT screen

your solution

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.