Firebase GetTagList block doesn’t work if all the tags are numbers. If there is a single tag that is not a number then It works fine but if not then GetTagList block doesn’t return anything, not even an error message or something.
I am pretty sure that’s a bug becuase of the following reasons.
1.I’ve tried everything, checked every block and method and properties of firebase component.
2.As I mentioned in my post, this “bug” was once there in thunkable (Veryfied by thunkable stuff, Mark)
This was a bug in Thunkable caused by some unexpected behavior in Firebase whereby their client libraries will attempt to interpret data where all the tags are integers as an array/list. We have a fix already submitted to our code base and will be in our next release, which should be some time within the next week or so.
In the meantime, one workaround would be to store one value with a textual tag and then ignore that tag when it comes back from GetTagList.
Thank you so much for your response, I appreciate you are willing to help, but you really want to help then at least try the APKs I have shared. If you have checked them then you would have noticed that my app gets tag list even with my wrong database if there is a tag which is not a number like a tag “z” But if you remove the tag “z” Then there will be be 11 tags left and all will be number then try to get tag list, you will get nothing.
Or at least make a tag with any number and then put list in the tags value, and then try to get tag list. According to your theory it should work, but it will not work. That’s the thing I’m trying to explain to everyone. No one is checking the APKs.
It is that an apk for this does not work. Because nobody can see How you make the blocks and the logic. So no one looks at you apk. Share an aia file, but sharing an apk to demonstrate a bug does not have much sense.
Yeah, that’s what I was saying. Finally someone understood. Sorry if I made my post too complicated to understand.
@Peter Sorry to mentioning here directly, but can you please look at this post and clarify is this a bug or what? I directly created this post in the bugs category because of this post of thinkable community. Please do check this out.
I also had the same problem. I believe that this is not a bug in the Firebase component but there may be some rules for the tags and values in Firebase which we don’t know about. What I simply did that I added a letter with the number instead of directly storing a number. For example:
A1: " \ " value \ " " A2: " \ " value \ " " A3: " \ " value \ " "
and so on…
This way it works absolutely fine. You can also replace the letter to blank so that you’ll have a taglist having only numbers in it.
It is a good idea but I want to store data with my own structure (As I showed in the post) and that’s the only way for me. I found that easier.
I completely disagree with this because if there would be some kind of rules as you saying in Firebase than how come everything works fine in thunkable? Do those rules apply only to Kodular? I don’t think so.