angularfire2 Questions

3

I am having a weird issue with my angular application, I just added AngularFire to my project, however when I try to put it up, it displays the following error: ERROR in nodae_modules/@angular/fi...
Resign asked 11/5, 2020 at 17:37

2

I am using Ionic2/Angular2 with AngularFire2 and Firebase to authenticate my users at login. After I register a user via email & password successfully, I can login with that email & passwo...

3

Solved

I'm implementing a recipe book in Firestore where every user is able to see all the recipes all users created but only the original author of the recipe is allowed to edit or delete the recipe. Any...

6

Solved

I have this function that gets all the posts and I want to get the id of the post any idea how to get the id of the post or How to include the id when I add the document to the collection get_the...
Gel asked 12/11, 2017 at 23:1

5

I'm having slow performance issues with Firestore while retrieving basic data stored in a document compared to the realtime database with 1/10 ratio. Using Firestore, it takes an average of 3000 m...

3

Solved

I have an angular app that is protected with Identity Aware Proxy (IAP). I am trying to add Firebase to this app in order to use firestore for a component using AngularFire. I don't want to make th...

3

Solved

Can't fix this problem: app.component.ts import { AngularFire, AuthProviders, AuthMethods } from 'angularfire2'; /angularfire2/index has no exported member 'AngularFire', /angularfire2/index has...
Cita asked 4/5, 2017 at 8:30

3

Please help me to fix an issue I'm struggling. I have an array of Firebase object keys const keys = ['-Kx9pqoMWlJLbKLQcAkP', '-Kx9pqoOYlDHTJ64Was5'] What I'm trying to do is to get all those Fi...
Epidiascope asked 13/12, 2017 at 9:58

2

Solved

How can I do multiple object pushes at once with angularfire2? Just pushing an array of objects doesn't set keys for each object. this.af.database.list('/symbols/').push({ typ: "symbol1"...

7

I use AngularFire2 to get data from Firebase Database (realtime). What I have done: Firebase Database { “class” : { “student” : { “Tom” : “male”, “Mary” : “female”, “Peter” : “male”, ...
Dottie asked 5/10, 2017 at 13:56

3

I want to load all the items on start without showing any message, but once after loaded. I want to capture any new row in subscriber and show it to the desktop notification. The problem is, I'm ...

2

Solved

 Context : I'm building an angular 2 app (with a Firebase API). I'm using the AngularFire module. I was wondering how I can mix the canActivate method with the AngularFire auth Observable, and I fo...
Peripteral asked 4/12, 2016 at 9:53

3

I'm trying to run a transaction with a variable number of read operations. I put the read () operations before than update (). Reading the Firestore doc on https://cloud.google.com/firestore/docs/m...
Bluebill asked 5/12, 2017 at 22:53

3

I've set up authentication using firebase for an angular app in an auth service, and I'm trying to ensure session state persistence following successful login. I've seen that firebase is supposed ...

2

I've been searching for this one for a while but have not found a reason why this is the way it is. Basically this returns an array of documents in the collection. this.db.collection('people', re...
Firewarden asked 24/2, 2019 at 1:3

4

Solved

I've been going through the angularfire2 documentation to retrieve a downloadURl from storage. I'm hoping I'm missing something simple here. The documentation states: @Component({ selector: 'app...
Epa asked 19/3, 2018 at 12:4

3

Solved

I'm trying follow the guide from angularfire2 docs on github, but when I try to open the popup window for google login it just closes instantly. I've tried with different browsers, but I can't fig...
Afore asked 23/1, 2018 at 18:28

4

Solved

By running ionic serve I get the following error: Property 'accessToken' does not exist on type 'AuthCredential'. // You can use it to access the Google API. let token = result.credential.accessT...
Warmblooded asked 24/11, 2018 at 13:27

1

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.da...

5

Solved

Argument of type '{ query: { limitTolast: number; orderByKey: boolean; }; }' is not assignable to parameter of type 'QueryFn'.Object literal may only specify known properties, and 'query' does not ...
Perilune asked 17/10, 2017 at 2:50

2

Solved

I cannot use the property data() on DocumentSnapshot. It gives me an error in the console. here is the exact error: auth.service.ts(72,20): error TS2339: Property 'data' does not exist on type ...
Gelya asked 1/11, 2019 at 2:15

4

I'm trying to get the timestamp of a document that I created in firestore, but what I get is this: myService.ts getDomiciliarios() { this.domiciliarios = this.afs.collection('domiciliarios').sn...

4

We are tried login with google authentication using (Firebase/ionic2/angularjs2).Our code import { Component } from '@angular/core'; import { NavController } from 'ionic-angular'; import { Observ...
Nidianidicolous asked 12/5, 2017 at 2:54

1

Solved

I want to read a specific document in Firebase Firestore using AngularFire. import { Component, OnInit } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { AngularF...

5

Solved

I'm sorry for being vague, but I really don't know what to mention except that I am receiving this error! I have no idea why except that I think it has something to do with version in compatibility...

© 2022 - 2024 — McMap. All rights reserved.