Bro, the get() you said in the video is to read all the data in one child, how can I read from one child that have two data and I want retrieve the data separately?
Hello sir , I would like to send the message through a specific event in the realtime database instead of sending it manually using publish. How can I link between FCM and realtime database?
The perfect video, I was searching for. Thanks a lot for uploading such content. But, I came into a problem, I have 1 child inside that child I have another 4 child, How can I read them all?
Bro, the get() you said in the video is to read all the data in one child, how can I read from one child that have two data and I want retrieve the data separately?
Problem solved
DatabaseReference dbref = FirebaseDatabase.instance.ref().child('data');
final ph = await dbref.child('ph').get();
final salinity = await dbref.child('conductivity').get();
setState(() {
_salinity = salinity.value.toString();
_pH = ph.value.toString();
print("ph: " + ph.value.toString());
print("salinity: " + salinity.value.toString());
});
how can i listen in realtime, not just once for changes in data with multiple children
My man is sick
Dude so much helping, thanks for the knowledge bro
now I can sleep in peace🥰👍
Welcome bro 🙏
Awesome tutorial man!...it worked like charm! Thanks :)
Welcome 🙏
Gostei do tutorial, simples e sem enrolação. Parabens!!
Thanks ! Appreciate that 🙏
Hello sir , I would like to send the message through a specific event in the realtime database instead of sending it manually using publish. How can I link between FCM and realtime database?
The perfect video, I was searching for. Thanks a lot for uploading such content. But, I came into a problem, I have 1 child inside that child I have another 4 child, How can I read them all?
all the installation part with flutterfire is missing, we don't see how you solve the interference with cocoapod..
thank you
Welcome 🙏
source code please