Hey @blast24blast46ydf, welcome to the Community
[object Object] appears because youâre trying to display an object with children (objects in objects). You must use the get property of object
block as shown by @KirkVanHouten.
Also, your key does not contain a forward slash to indicate a path in the Firebase Database.
You must join a â/â (forward-slash) between users
& app Profile
. Your Join block would look like this:
Also note that Iâve used the on screenName Opens
block. This means every time the screen opens your code will execute. on Screen Starts
may pose an issue.
The if value != null
statement shouldnât be necessary as a user should not be able to access their profile page without an account anyway, though if you wish to have this fail safe you may.
You should have an if
statement that checks if itâs not an error, and that should look like this:
Check out this post for great information on using objects in your app.
You appear to be saving data correctly, so that shouldnât be an issue. When testing if your app works with your database, have the database web portal open in another tab and check it when you change data to see if everything works as should.
I think Iâve covered a few tiny problems there, hopefully I havenât missed anything