Store data using i tag

hi, how can i use one tag to store two data. i make an math quiz app so i want to save user password and score to firebase using username as a tag. so how do i do that

Where do you want to save this tag ?

firebaseDB

You can save multiple items as a list or a string:

image

Screenshot 2023-11-21 212930
i want to store score and password using username as a tag in firebaseDM realtime databsw

i already try the top one , it will change the password.

Initially store the data like this:
image

then you can update the score:
image

Return the data (as a json):
image

di i need to change it from the login
Screenshot 2023-11-21 214247

Yes, you will need to change these:

image

signup
image

login
image

ok thank you

Make sure your username/s are unique, to avoid overwriting another user's data.

Let me suggest you because of security reasons to never store passwords as plain text anywhere, store hash values instead

And later if you want to check if the password is correct, compare again the hash values

In my tools extensions App Inventor Extensions: Tools | Pura Vida Apps you can find several hash methods to convert the password into a hash value

Taifun

1 Like

Screenshot 2023-11-22 161252


Screenshot 2023-11-22 161520

hai i have a new problem after i change i cant log in. i can only sign in.the username and password are already right

In order to check password your tag when got value is in the form of username/Password so change your blocks like this ..

thank you

1 Like