i have made a login screen using these blocks but for some reason when i try to log in it says that i have the wrong password
i am trying to use this method because i want to get some information like the username and add points to the account but i dont know how to do any of those too...
(this is for a student project due in 10 hours)
Im not sure if I can fully help you, but what I can suggest is maybe following another opensource code and reference from there at the moment.
"Wake_Me_Happy" is one of the apps, I was checking out to understand, and they also have a "login method".
this is "Wake_Me_Happy" Blocks not mine, just to make it clear.
are you sure this database can transfer from one screen to another?
( i have to store 5 different numbers from different screens and add them all up to display)
I guess there's only one way to find out.
ABG
September 17, 2024, 9:58pm
5
In the signup button, you store a password under the user name.
But in the event where you receive a value from Firebase, you are expecting a dictionary with some specific keys ('password', data1, 'data2').
How do you reconcile that difference?
Lito
September 18, 2024, 12:45am
6
Insert this new block here! @yousef_khaled
Leave Tag and valueToStore identical in each of the two blocks...
Tag is just the 'label' with which the data will be saved... so that this data can be identified among others when read later...
@>-->---
ABG
September 18, 2024, 2:36am
7
I suggest exporting and posting your .aia file before you run out of time.
yousef_khaled:
replace else if with else in firebasedb got value
you might want to try firebase authentication.
there's a lot of extensions for that and it uses less code