How to get text from Firebase (making announcement text)?

Hello,

I am looking for a way to show message from the Firebase to a label in the app. This label will show announcement that can be changed using the value in Firebase.

So far, I have done this in the Firebase.

I also have done this in the Creator
image

But, when I approached the “set label text to …”, I’ve got confused since there is no expected block to be put in there.

What can I do to make this online announcement text in the label?

Thank you.

When firebase get value, if tag is … then set Label.text to get value.

2 Likes

Hello @dora_paz,
Thank you for the response.

I have tried to implement your answer as follows


But, when the screen is initialized, the label does not show any text (blank).

How may I solve this, please?
Thanks.

make sure this place is empty

image

1 Like

On Screen Initialize label will be blank unless you set it to a generic message. Maybe set label visible to false and once got value set visible to true

1 Like

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