In my app, i need to send a ntification to the user when the tag notStatus shown below in my firebase changes from 0 to 1.
when this change occurs, the app should check if the value of the tag BattCharge is <=60 and if so sends a notification to the user to perform certain action.
It is not the notification part I am worried about, it is the fetching of one tag, checking if it is =1, and then fetching and checking the value of another tag.
I was able to do so when I was checking for only one tag using the following blocks:
Firebase: