It’s a while that I’m experiencing a strange problem with my code.
I’m using a real-time DB and I have to check if a specific node of the DB contains data or not, therefore I use the condition IF value != null as in the picture.
Sometimes, while live testing when it comes to this part of the code this function gives problems and shows the blank screen.
If I substitute this condition with another one the problem disappears and everything works again but, this would mean completely change the structure of the DB and so of my app.
I would like to ask if you are aware of this problem and if you know why sometimes this kind of solution works perfectly and some don’t.
Thank you so much!