I am trying to save my items to Firebase through Cloud variable but also for a specific user.
I have created a sign in page with a sign in component and I have put the logged in user to a variable just to make it easy to use later in the app.
Now I would like to add my items inside of that user somehow. I know how to do this in the Real time database component but I am trying out the cloud variables now and I feel I would need some help.
Anyone with any tips for me? Thanks!
This is my database today:
I would like it to end up more like this:
This is my “save” block where I tell how the info should be saved in database:
So, now things works but nothing that I save are connected to any specific user.