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:


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:

then you can update the score:

Return the data (as a json):
image

di i need to change it from the login

Yes, you will need to change these:

signup

login

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



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