Notifier not working?

Yes

For this part i am still figuring it out, if it is not possible. Ill just scrap that idea, for now i am trying to implement Create(Login/Reigster), Read(Scoreboard[haven't figure it out yet]), Update(User can edit username / password) and Delete(Current issue[delete account])

Never store a password as plain text in a database, store their hash values instead!

Taifun

Maybe it would be a good idea something like this:
image

so, it is easy to check if the user exist or not, to check its password (for signUp/logIn process) and to recover the data associated to the user (score in this example but you could add more concepts)

Thanks for the suggestion, will implement it next time. For now, Im chasing time as this is for my school project :melting_face:

may i ask how do you do this? :sweat_smile: do i need to change the rules?

No, the rules are other thing relative to the read/write permission.

But you need to handle the projectBucket and the tags in a different way.

An example of the login/signUp screen with that data schema could be:

In this way, the projectBucket is the userName and the tags the password, score...

And something like this your second screen, where you get all the values associated to the logged user:

I have added a button "AddScore" to be able to add any value to the score property of the user.

I share the aia in case you want to take it as a starting point (you have to put your token and your URL)
OtherExample_FB_Component_SignUpLogin_and_recover_data.aia (6.7 KB)

And also maybe you need to consider the advice from Taifun:
post#24

Wow, tried implementing it but now it seems like it wont even register my account, i guess ill just share my aia here, i can't even get the gist on how to do this anymore :smiling_face_with_tear:
HangManPj (1).aia (22.6 KB)

mmm, check your firebase token...it seems too long.

It works fine with my firebaseDB instance.

What should i set it to? cause i tried the aia file you shared and it works fine while having similar firebase token to the current one im doing

are you using the default one (MIT) or your own firebaseDB? Anyway you were using a firebaseDB for the before attempts, weren't you? Set the same.

You mean for the FirebaseToken? If yes then I am using the default MIT one, i do not know of FirebaseToken that came from firebaseDB

mmm, the token is not the default one and neither the URL....set the same you had.

If you drag a firebaseDB component you will see the default values (for both, URL and token).
image

If you are using your own firebaseDB, then the token is here:

I believe I am using the default token when i drag the firebase component, i only change the URL since i need to connect it to the firebaseRTDB right. And for the token it seems like it just stated there "No web API key for this project"
Screenshot 2024-07-19 005222

But how have you been testing before? Remove the token completely and paste again the default one.

Did you change the rules in firebaseDB?

As i have said, i didn't change anything for the firebaseDB component besides the URL, everything else is still in default

Nope, it is still default

Well, if before it was working and not now...something has changed...

If you have not Web API key in firebase, if I don't remember bad you can go to "Authentication" section, start there and them the key must be generated.


i only reenabled the previous blocks and now it can register & login account like normal it's just that the way it records it is back to the previous way which is:

Oh wait, after getting the the web api key. now it is working

Nevermind, i cursed myself now it is not working after i delete an account and tried to register a new one. Weirdly enough when i delete the account im currently logged in. Inside firebase, it deletes every account that i have registered before

mm, make sure the tag you are using in ClearTag is the userName you want to delete and also the projectBucket.

Screenshot 2024-07-19 020130
I believe i am doing so, referring back to the one you sent it was done like this.. i only made slight adjustments and i believe it wouldn't affect anything much