Hi there! I would like some help in interfacing with, or at least getting the value from, my Firebase RDB to Thunkable. I watched a couple of video tutorials, but they were for an older version of Thunkable; now I’d like to know how to use the new version. I can easily do this in MIT App Inventor, but is this possible in Thunkable?
All I watched was about signing up and signing in, but there’s nothing about interacting and not setting the value.
All I have managed is entering the API and URL of my Firebase to Thunkable.
But making blocks is extremely difficult for me. I would appreciate a demo app that can do this so I can analyze it for myself. Thank you in advance for your future responses!!!
I find that example confusing because you’re using a variable for the name of the cloud variable instead of a text string. I generally try to avoid that because it adds an extra layer of complexity.
The basic idea is to set a cloud variable with the path to the Firebase data. So if your Firebase database looks like this:
Users/
…UserID
…12345
…Age
Then to set the value of the “Age” key/property, you would set cloud variable “Users/UserID/12345/Age”
Keep in mind that if your Firebase data contains arrays, you will need to use the list blocks to reference that data.
I was trying to use this cloud variable to store my data from Firebase but what I don’t get is how to store this cloud variable to an app variable which I can use to interface/show this is my percent label. I need to store 3 variables. You can see in my screenshot of Firebase Database, I need to interface these Tank1, Tank2, and Tank3 at the same time. And the data will also update in my screen in their respective label.