Hello everyone, I'm quite new to app inventor and I'm currently stuck on how to retrieve data from Firebase in order to display it in listpicker. I have manually stored the data via Firebase dashboard and the snippet below is the structure of the database. Can anyone guide me on how to proceed with this?
Let us say you have your firebase project setup like this and you are using the built-in Firebase component blocks, and your firebase rules are read:true / write:true:
To get the data in seatid:
If you only want to return the items that contain "T1", you can either use the filter bar, or create a sublist from the tag value:
Beware of the difference in encoding of data structures loaded from AI2 into Firebase compared to data added manually via the Firebase console. Also, AI2's Firebase component has been known to confuse dictionaries with numbers as tags with arrays (lists).
(See post 2 at FAQ Section: Firebase)
Also, when you use Firebase, you are warned of the following consequences.
FirebaseDB is an experimental feature which may change in the future or break. Packaged Apps built with this component may not function into the indefinite future.
Did you save your rules by clicking on 'Rules Playground'? What is your ProjectBucket for Firebase?
The poblem is that your didn't add data in firebase from the app so in listview you will get only first word. In order to get all if you add data in firebase you should put data in the form of "\"your_data_here\"