Questions tagged [firebase-realtime-database]

Firebase Realtime Database is a cloud hosted, NoSQL, JSON database that provides offline caching and synchronization. Do NOT use this tag for questions about Cloud Firestore; instead use the [google-cloud-firestore] tag.

About Firebase Realtime Database

Firebase Realtime Database is a component of the Firebase suite of tools for cross-platform application development.

  • Intuitive and easy-to-use API
  • Remains responsive regardless of network latency or Internet connectivity so your Firebase app works offline. Data synchronizes when connectivity returns
  • Handles the complexity of realtime synchronization and provides flexible conflict resolution
  • Accessible directly from client SDKs, or from your server with the REST API

To learn more: Firebase Realtime Database for SQL Developers (video series)

Related tags

40037 questions
5
votes
3 answers

Use of unresolved identifier FIRDatabase when using Firebase

I am trying to use the Firebase database. I was watching a tutorial on how to use Firebase and wrote this line of code, FIRDatabase.database().reference(). Then I got an error saying, Use of unresolved identifier FIRDatabase. I don't know what is…
5
votes
1 answer

Read data from firebase swift

I'm trying to retrieve data from firebase database, but when I run the code it display nothing, though no errors shown I got this piece of code from Firebase manual, by the way, I'm pretty sure that the path is correct let ref =…
Yousef humdan
  • 67
  • 1
  • 1
  • 5
5
votes
2 answers

Import JSON file without overwriting the existing data in Firebase

Can I know if there is any way I could import my JSON file into Firebase without overwriting the existing data?
5
votes
1 answer

How to use PromiseKit with Firebase in Swift?

So I import PromiseKit and then try FIRDatabase.database().reference().child("somechild").removeValue().then { ///// } Obviously, this doesn't work and I was wondering what am I missing to make promises work with Firebase, if its even possible.…
Ryan
  • 969
  • 1
  • 6
  • 19
5
votes
4 answers

iOS SWIFT: Unable to delete user from Firebase Database

I want to delete my current user from Firebase. The authenticated user gets deleted however, I am unable to delete the data for that user in the database. What am i doing wrong? This is my delete user method.... FIRAuth.auth()?.signIn(withEmail:…
5
votes
2 answers

How to query Firebase by attribute of a child?

Schema: I'm trying to get all the objects filter by owner To get a specific I do this: var refCompaniesById = firebase.database().ref('companies').child(id); But in this case I wanted to filter all I…
5
votes
1 answer

Nested Angular2 ngFor Directives for Firebase Lists

I want to bind the results of a Firebase query to my template using ngFor in Angular 2. This is easily achieved below. component: export class FeaturedThreadsComponent { threads: FirebaseListObservable; qualitySubject:…
5
votes
1 answer

Espresso with Firebase - async loading

Having an app based on firebase DB - where items are loaded asynchronously (e.g. into RecyclerView) via Firebase callbacks - how would we define Espresso check? Using a custom IdlingResource seems problematic, because ChildEventListener's…
5
votes
1 answer

error "java.lang.StackOverflowError:" when try to save object in Firebase Database

I am new to the firebase. I tried to save the properties of the users listed in my application into the database Firebase, this is code mAuthListener = new FirebaseAuth.AuthStateListener() { @Override public void…
5
votes
1 answer

Is There Such A Thing As "Multi-Path Push" in Firebase Real-Time Datasbase?

I was watching this video which talks about multi-path updates in Firebase. Multi-path updates are great because they allow you to call the firebaseRef.update() method two or more times while having them be one atomic, all-or-nothing operation.…
Jim
  • 3,821
  • 1
  • 28
  • 60
5
votes
2 answers

How to show my top posts first in my Infinite Scroll, in descending order with firebase?

WHAT I TRIED (DOES NOT WORK CORRECTLY): CODE: