I've been having some issues with my app over the past few days and I am working on debugging it. The strange thing is that I haven't changed anything in my blocks, so the question is: anything has changed in MIT App Inventor?
My app interfaces with a Firebase Realtime Database. Users can create and delete their tags (tag1, tag2, etc.). The list of these tags is updated and saved in the same database under the "lista_tags" tag. The structure is
tag1: value
tag2: value
...
lista_tags: tag1,tag2,...
and when a new tag (local_ID_annuncio) is generated
In the last few days tag "lista_tags" in Firebase can only contain one tag (despite users generating more tags).
During debug I found that the variable "lista_tags" is "not a list"! So, following my blocks, the app completely delete the items in list and add only the last item added.
I think that this is related to the fact that at the beginning, when I have not tags yet, response Content is not a list, so from that moment problems begins.
Questions
1 - Why was my app working until a few days ago?
2 - How can I solve it: how do I manage the response content of the call "lista_tags" tag?
3 - When I don't have any tags, the "lista_tags" tag (empty) disappears from the Firebase structure...why? Is it "normal" ?
Hi @TIMAI2
Thank you for your reply regarding Firebase array. It means that I have simply to substitute "jsonTextDecode with Dictionaries" with "jsonTextDecode".
But I have the same behaviour…
I used 3 text labels to show you something