OK Guys, I have been dealing with this issue long enough, and I believe it is time to address it
The Realtime_DB Listener is not working as expected , and is triggering even thought there is not change in the Realtime_DB AddListener + DataChanged elements.
I have been trying I believe everything, even changing the rules with the same result, every time the page opens, where the Realtime_DB AddListener is located, the Realtime_DB DataChanged is triggered. But the most estrange or weirder thing is even if the if the action in the Realtime_DB DataChanged is inside an IF statement and this is FALSE , the action is triggered, for example I have this Realtime_DB DataChanged:
If I use this in the Realtime_DB AddListener when the screen starts:
every time my app starts, because that is my first screen, even in the Value is 0 the action is triggered, so the phone vibrates, and if I use Realtime_DB AddListener when the screen opens:
every time that screen opens, even if the value is 0 the action is triggered and the phone vibrates.
This is a really easy example of what i am doing with my app, but is really not working⦠I have tried with tons of different IF statements with no luck, is there any workaround to this guys? I really need your expertise here!!!.
In addition to this I also discovered that if you are using Tab Navigator, the Realtime_DB AddListener has to be in the same screen that the Realtime_DB DataChanged, otherwise wont work.
Cheers Thunkers!!!