There is no option to add Realtime DB UI Component in Thunkable Drag and Drop Interface.
DnD users are intended to use cloud variables.
I Haven’t Learned Using It yet. I Only Knew About Realtime DB
It’s just a much quicker way of user RTDB. Check out the docs Variables - Thunkable Docs
But I Have Taken A Corse And I Am Going To Learn It Later.
Then you’ll have to use the legacy UI. By the way, which course have you taken? I’m interested in Thunkable courses.
In One Of my project in Drag And Drop, I actually Get RealTime DB in the blocks section. But in another Project I Get Nothing.
This is drag and drop interface as UI Components are Above Core.
It looks to me that you have imported this code from a saved screen. I noticed when you import a “saved screen” the component list changes to one similar to the old UI every time you are using the saved screen but when you switch to any of the new screens the component list goes back to the new component list.
See this screenshot from the new UI but I imported the switch from an old “Saved Screen”
I am little confused in this.
Can anyone tell me how to use this code as cloud variable one? I mean how to convert this code using cloud variable?
(with a specific key in RTDB)
Thank you @muneer !!
I’ll try this out and let you know if I have any doubts!
Thank you so much @muneer It worked!!
Just a small doubt… What if I have to save an image? I will do that using a “url” block right? And also for location?
Can you please clear this too? And if possible can you share a code for the same?
Firebase RealtimeDB will not save an image directly in the database. However, you can upload the image to any cloud storage and obtain the URL to the image and save it in a key in the database.
To upload images from the app you need to use
Media DB components.
Ok Thank you!