Hi, I am working on a simple check for update function of my app, and I found a very weird yet consistent bug with the cloud variable and firebase.
As the code show, my app will get the latest build number which is an integer from my own Firebase server, and prompt the user to update if needed. This function works perfectly in live test on both ios and android, however when I install it as apk or on ios devices, the value that firebase return becomes null, and thus the message will end up not able to display the lastest build number. Instead, it just displays as if the variable did not exist. The Firebase was definitely configured correctly as my app uses a lot of cloud variables, and ONLY this particular one don’t work. Ive tried using initialise cloud variable, and use the longer way of firebase.getvalue, however both has the same bug. I also tried renaming the variable. Rebuilding the app also does not help. Is this a known bug or something that could have caused it?