How to get the key of a pushed value

In Firebase Realtime Database on Android, I want to retrieve this id “-Mb1sSv-FCNr9ElxZIwN”. databaseReference = FirebaseDatabase.getInstance().getReference().child(“Registration Data1&…

video streaming on Fragment of an android app

i want to stream a video from the firebase storage, in a fragment of my android app. but what even i try my video doesn’t launch or the app crash when i request the fragment. being a beginner, i have …

Get the named of Collections from Document on Cloud Firestore

I want to get collections (Col01, Col02, Col03) from the document (Doc01). How can I approach this? Check the attached image. Thanks. Image

What is the difference between get() and addListenerForSingleValueEvent?

I see a lot of tutorials, documentation and questions about using the Firebase Realtime Database on Android talk about the addListenerForSingleValueEvent method. This method reads the value from the …

Why counter just increase to 1 in firebase?

im trying to increase a visitor counter views when access to read a message, so i made a method called incrementar () and set it where i retrieve info when someone click to open that post. But i dont …

Is firestore callback method run in a separate thread?

I am fetching Firestore data through RX observable. Is it required to subscribe to it in a separate thread or Firestore callback run off the main thread by default? Also please share any references …

Firebase Storage Code: -13000 HttpResult: 0

When I try to upload an image to the storage I get this error : I have already tried changing the dependencies and the versions but nothing has changed. I have also tried several times to modify my …

Select next value firebase android

I’d like to get first register and then the second one when user click in next button, and so on… I have this:

How to get the data from x document and upload it to a new document called ‘name’ and then delete the old one in java

How to get the data from x document and upload it to a new document called ‘name’ and then delete the old one in java const firestore = firebase.firestore(); // get the data from ‘name@xxx.com’ …

snapshot.getValue(User.class) is returning null

I was working on this User information project. I have created login registration for users. The project supposed to show information about logged-in users. When users log in to their profile, it is …