Firebase realtime db blocs vs cloud variables


a precision ! should we preferably use realtime database blocks rather than cloud variables with StP UI?

1 Like

cloud variables are easy to use and work the same as real time db do

If you want to use retrieve data without having to wait for the retrieval time (asynchronous) then use the blocks.

If you prefer to be sure that data has been retrieved before continuing execution of the code (synchronous) then use the cloud variables.

If in the other hand, you want to use the Listener feature for dynamic keys then you can only use the blocks.

So, the bottom line is what do you want to achieve would normally dictate the method to use.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.