skip to Main Content

Why i cant see the values of my snapshot.value from firebase database in a Text widget in flutter?

i have the next code: DatabaseReference ref = FirebaseDatabase.instance.ref(); late DatabaseReference databaseReference; final data = FirebaseDatabase.instance.ref(); var medsValues; _activateListeners() { data.get().then((snapshot) { var medsDescription = snapshot.value; setState(() { medsValues = medsDescription; }); }); } ListView.builder( itemCount: medsValues.length, itemBuilder: (BuildContext context,…

VIEW QUESTION

react native firebase storage – unknown error

I'm building a react native app with firebase storage and i'm trying to 1) store the image in storage, 2) retrieve downloadURL, 3) set the downloadURL string in firebase for access via the database storage().ref('users').child(userKey + '/profileImage').put(image.path).then(() => { storage().ref('users').child(userKey…

VIEW QUESTION
Back To Top
Search