I'm building a simple chat app backed by this Firebase Database structure:  messages: {   "-KTjL_oLrKOboa2su2zk": {     name: "puf",     text: "Look I'm smiling :-)"   },   "-KTjNfaNem752ChFBcnC": {     name: &...
I'll appreciate assistance with how to reauthenticate a user in Firebase. I wonder if it makes any sense adding all these great features if the documentation doesn't explain how to use it:  Currently, this is what I'm trying, and it ain&#...
In my Angular app Firebase returns an error which shows bad-app-name as code. i'm using angularfire2 in angular app.    I have double checked Firebase configuration, it is alright, so how to solve this error.  app.components.ts  import { Componen...
I'm trying to upload to my Storage bucket and then get the downloadURL to that uploaded file right after the upload is done. This was working previously but has since stopped for some reason.  My console print is just returning null. I was hoping...
here is my code to check a doc is there in the collections  this.shopCollection = this.afs.collection<Shop>('shops', ref => {   return ref.where('fulladdress', '==', myString) });   i don't know why i can't us...
I'm trying to insert a document into a collection. I want the document to have a attribute of type reference to insert into the collection. But every time I insert into the collection, it comes out as a string or an object. How can I programmatic...
The below observable creates an array of event objects.  eventsRef: AngularFireList<any>; events: Observable<any>;  this.eventsRef = db.list('events');  this.events = this.eventsRef.snapshotChanges().map(changes => {  return ch...
I have a collection of bar orders, and in each document i have a field with a reference for a barman.      I'm trying to made a where with the doc reference.  Something like that:  orders = this.database.collection("orders",     (ref) =&g...
I am trying to save personal info of person with birth date and activation date into Firestore database in Angular;  However, passing object with Date() type fields the dates are saved as a string:  this.treatment.activationDate = new Date(); // give...
I'm using Firebase + Ionic in a project. my problem comes when loging out. I am subscribed to several onSnapshot events in some collections. I expect all subscriptions to be dismissed whenever the a user is logged out, but it is not like that, so...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.