Retrieve firebase data in list viewer

@mostfaaa823awcy,

There are a few potential issues and some additional information to help debugging.

  1. Try to steer clear of the RealtimeDB GET and SAVE Blocks.They are asynchronous and a massive headache. Use the Cloud Variable Blocks instead. Here is a link on the easy conversion Replace GET or SAVE Blocks with cloud variables.
  2. If you insist on using the RealtimeDB Get Block, try checking the ERROR block before performing operations on the VALUE block.
  3. I THINK (but I’m not 100% sure) that for Thunkable to read a JSON List/Array, the elements must be number starting with 0 and have no missing entries. The Firebase list has 0,2,4,6,10. I think that will cause thunkable problems
  4. Once you fix the number and use the cloud blocks, I think your Button2 click should look something like this:
  5. Button 1 to save the values should probably look something like this (again, steer clear of the SAVE block):

Happy Thunking!

2 Likes