When firebase datachanged is NOT working

I used Kodular and MIT app Inventor and yet I still get the same results. I am making an Earthquake detection app, when the firebase “earthquake” change to 1 (0 to 1) it’s supposed to tell the user that there is an impending earthquake. Yet, when the data changes, nothing happens.

This is my code.

1 Like

you checked to know what values ​​TAG and VALUE return you

1 Like

What? I cannot understand what you are saying.

1 Like

Print tag and value on “label” first.

That is what I have done, in my Arduino code, should I use PushInt or setInt? setInt means to change earthquake to value and pushint creates a sub-data stream with a random name and puts the value in that.