As stated in another question, I'm developing an Ionic 2 App using Firebase as Backend.  I have categories and I have products. Products belong to categories. As it is a "n to m" relationship, products and categories are stored in separat...
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 code below was working and it should listen for changes in a node and execute a function but now am getting an error:  ncaught TypeError: Object(...) is not a function at SwitchMapSubscriber.eval [as project] (changes.js:7)   So, in my angular2 c...
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...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.