Dynamic open other screen with firebase

Hello Everyone I would like to open other screen if the screen1 if get value is not = to version code it’s not working can can one help me

Set the value If Tag Not There to 0.

How can I set value as zero

Delete the empty string block and plug in a blue Maths 0 block.

1 Like

Is this right

Yes. That appears to be right.

But it’s not working

What have you stored in Firebase? Is the tag, bucket, and data structure right?

add a label to your secren and set the label text to get value. now check if the returned value is same as your firebase project.

2 Likes

Is this right?

no like this
image

this way you can check if the value you are receiving from firebase is correct or not

Can you plz show the full block

do it like this
image

I don’t want to change the label value just I need to if label value is not equal to firebase value it should open other screen

WE NEED TO CHECK IT WITHOUT THAT HOW DO YOU KNOW WHERE THE ERROR IS.

1 Like