How to retrieve specific node from firebase database in android

I am trying to use Firebase in my android application. I am following documentation for Saving and retrieving, But the Sample database(Dragon) which is used in tutorial has different structure...

Firebase TIMESTAMP to date and Time

I am using firebase for my chat application. In chat object I am adding time stamp using Firebase.ServerValue.TIMESTAMP method. I need to show the message received time in my chat application...

How to get current timestamp of firebase server in milliseconds?

I wanted to get firebase current timestamp, not able to find a way to get that. I want to save child as shown in the image. And for that I've to get timestamp and get the date accordingly. Please help...

Firebase ChildEventListener if no data has been retrieved

I'm using Firebase in my app. I have a list of element to retrieve using this...

Firebase - retrieve all child keys and child values into separate arrays in Swift

Is there any way to retrieve all the keys in a child, put them into array, and then retrieve the values for the keys and put it into another array? Source...

SHA certificate firebase Debug/Release

My android app is using firebase realtime Database, i've putted the app debug SHA certificate fingerprints , and when I test my app with debug mode it works and I get data from DB , now when I...

Failed to get FirebaseDatabase instance. Specify DatabaseURL within FirebaseApp

FirebaseApp throws an exception when invoke FirebaseDatabase.getInstance(). Error message Failed to get FirebaseDatabase instance: Specify DatabaseURL within FirebaseApp or from your...

Firebase recycler adapter not showing data

I'm used to using populateViewHolder with firebase recycler adapter but as onBindViewHolder is the new way of doing this according to this post. I tried onBindViewHolder but it is not displaying...

Is it possible to use Firebase to implement a distributed mutex?

I was thinking of using a transaction like so to implement a kind of distributed lock: const lockId = 'myLock'; const lockRef =...

Updating hash map value android firebase realtime database

Trying to update values using a hash map in android studio. The values are passed through from a another activity. databaseReference.setValue is used to update the values. I have also tried...

Firebase error: TOO_MANY_TRIGGERS

In our Firebase application there is a list with lots of items in Realtime Database. Every create, update and delete operation on single item is processed by Firebase Cloud Function with onWrite...

firebase auth is not a function

I got this TypeError: WEBPACK_IMPORTED_MODULE_4__firebase.c.auth is not a function The line i got an error is the first line. firebase.auth().createUserWithEmailAndPassword(email,...

How to access object properties of 'key' object reactJS

Would like to output this JSON data I am struggling to find a way to output this data which I am pulling from Firebase, mostly in that I do not know how to select the objects within the 'date'...

List nodes from Firebase database

I try to read data from Firebase but it doesn't work Here is what I tried : DatabaseReference databaseRef = FirebaseDatabase.instance.reference(); await...

Get the auto-generated id - Firebase

I'm trying to retrieve the id of the element that I inserted in the database with .key. However, it returns the user value instead of the auto-generated id. How can I get the auto-generated id...

Can't determine Firebase Database URL when trying to read Firebase Database from within Node.js Firebase function

I am using Flutter to build an app that accesses the Firebase database. All good from the Flutter side....but I am new to Node.js and Cloud Functions. I am trying to create a Node.js function to...

Task :react-native-firebase:compileReleaseJavaWithJavac FAILED

I clone my own repo. project in on react native, I installed node modules and set Jdk8 as per requirements of my project. Then i run my project using react-native run-android. show me error Task...

Is it possible to set the alarm by PWA? (building a timer/alarm clock app)

I am building a PWA application that works like a pomodoro clock. So it counts down 25 minutes and informs the user when the time is up. I was thinking of several solutions. When the PWA...

Firebase Storage: Using Download Url Instead of Storage Ref

I have an iOS app that uses Firebase Storage for storing images. After an image is uploaded I save its storage reference in my Firebase Database. When the app loads, it fetches various storage...

How To Prevent Firebase Firestore Emulator From Clearing The Database At Exit?

I'm Planning To Use Firebase - Firestore Emulators For Handling Some Huge Amount Of Data That's Coming From A Websocket. I just need to process the data locally in realtime. Firestore Emulator Is...

Getting the current User information from Firebase Realtime Database

I developed a login app in Java where the user can login using their emailaddress and password. This works fine so far, but I have the problem that my UserModel.java is null when I get to my home...

Firebase Admin SDK global app initialization in Node.js

I am building an Express.js app, using the Firebase Admin SDK for several features such as ID Token validation and Cloud Firestore access. In my main app.js file, I am initializing the app...

Flutter: Firebase Real-Time database orderByChild has no impact on query result

I have inserted data like this into Firebase Real-Time Database like this way: And I query the database back like this way: final databaseReference =...

Unable to deploy a firebase cloud function due to permission error

I was trying to deploy my first firebase cloud function using firebase cli but I encountered an error instead : C:\Users\Anurag Tripathi\Desktop\firebasecloudfunction> firebase deploy --only...

How to Read Data from Firebase and Angular

I use read_CheckOuts to return the database but the ngFor doesn't work Here is my code: crud.service.ts import { AngularFireDatabase} from '@angular/fire/database'; export class CrudService...

What is the purpose of Firebase AppCheck?

I want to improve the security of my application and I'm looking into the Firebase App Check service which ensures that all requests made to the server come from my application. Only in Firebase...

Flutter The argument type 'StreamTransformer<dynamic, dynamic>' can't be assigned to the parameter type StreamTransformer<QuerySnapshot List<Message>>

I am trying to build a chat application using Flutter & Firebase I took below code from Github and used it on my project. On an earlier version of Flutter, it was working, on 2.0 it is showing the...

How do I fix a Firebase 9.0 import error? "Attempted import error: 'firebase/app' does not contain a default export (imported as 'firebase')."

I am trying to implement firebase in my React application but it seems my version of importing is outdated. Here is my code: import firebase from "firebase/app"; import "firebase/auth"; const app...

Android System.currentTimeMillis() value is different on firebase database than generated on app logcat

I am submitting a user last seen on Firebase Realtime Database and before setting value at firebase database i am generating a log with timestamp by System.currentTimeMillis() but when i compare...