Okay thanks, it worked and its placed in the Tree.
Now its the matter of Retrieving it. I made these blocks, so when I click the LoginButton, It gets the UserEmail and Password, and then the other checks if the tags and values are correct. Now it seems to not get the tag and I cant go to the Homepage
I'm not sure what to put in the THEN statement. I need both the Email and Password to be correct for the users to enter the Homepage. Otherwise it will call on an Error Message
I apologize, I did not think about how you need both the userEmail and Password at the same time.
This requires use of a fishing net instead of a fish hook when you ask Firebase for the data.
When you ask Firebase for the login data, shorten the ProjectBucket to only
TrackPaws1/Users/username and ask for tag LoginInfo.
The LoginInfo tag would then return a piece of JSON text containing both parts that you need.
Try this, and display the value returned for tag LoginInfo.
Separating out the parts from there needs a little JSON and dictionaried knowledge.
Remaining blocks are same (If you are looking for multiple users to login then do not use username in project bucket, instead use or create user namelike me else the values will be over written whenever new users are added.. Pls read the firebase guide )
Alright I tried implementing your method with the Tinydb. Registering worked, but whenever I tried to log back in, it encounters an error and gives me a notification that it had a Runtime Error
When Creating a new user, After I finished making the LoginInfo, Can I make another branch info with the same Signup button? Like make a new path like Users/UserID1877/Pets?
Yes, just go on with same procedure (i hope you have learnt now how to make a tree for per user, same way go on..) Avoid using logininfo.. Because for single user no prob, but if it were multiple users it will be harder to lookinto..