When i try to set the property in the first block, it doesnt work at all, and
2.Since both lists and objects are saved the same way in firebase and when i set the text on labels to the objects, it also displays a list, i assume they work the same? why doesnt this work?
There is probably something small i missed, could anyone help me pls?
Sorry, I think I was mistaken. It looks like the “0”, “1” and “2” properties are not in a list. Try getting the first list item of cloud variable name and then getting the property “0” of that to get the value 1; property “1” to get the value 2; and property “2” to get the value 3.
I think you can set the property “[1].0” of object cloud variable name to 5678 (which will change the 0: 1 in your screenshot to 0: 5678).
For the get property, what are you trying to change? Are you wanting to add 3: 3456 to name[1]? If so, name[1] is not a list so I think you’d just set property “name[1].3” to 3456.
If you’re still having trouble, can you export the JSON from the Firebase console and post it here? Make sure to format it as “Preformatted text” using the </> toolbar button.