angularfire2 Questions
3
I try to learn observable programming with Angular 2 BUT I don't get one important point - how to pass in the value that is in an observable in the (click) event in the template level (without subs...
Mcreynolds asked 18/1, 2017 at 22:44
2
Solved
I'm developing an Angular 2 app, I need make changeable the order of my columns in a List, clicking on the title (as data-table works) and I get an idea from Angularfire 2 documentation examples, h...
Cardiomegaly asked 28/3, 2017 at 22:31
3
Solved
When I get several documents from a collection, the result is only an array with each doc data.
firestore.collection("categories").valueChanges().subscribe(data => {
console.log(data);
// res...
Deprivation asked 23/12, 2017 at 14:42
2
Solved
I'm dealing with this issue for almost two weeks now. I tried a lot of workarounds but none seems to be working. I've installed angular-fire and firebase to its latest version, tried ng add @angula...
Latini asked 22/4, 2020 at 14:40
2
Solved
I'm currently working on an Angular 2 project with AngularFire2 and I'm trying to convert a FirebaseListObservable to a Promise. I know that it doesn't make much sense since Observables are more us...
Bradfield asked 27/1, 2017 at 0:8
4
Solved
How do I grab the logged in user?
I am doing this:
console.log('Logging in...');
this.afAuth.auth.signInWithEmailAndPassword(this.email, this.password);
But the docs are not clear on how to get...
Buyers asked 14/10, 2017 at 19:50
7
Solved
I've installed and used AngularFire2 a lot of times for projects, but since the release of v5, I can't set it up correctly.
These are the steps I follow to reach the issue.
$ ionic start angularf...
Halfmoon asked 19/10, 2017 at 12:9
2
Solved
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 ...
Volnak asked 21/3, 2018 at 10:57
2
My Angular project successfully uses the AngularFireAuth injectable from @angular/fire to connect to a local Firebase authentication emulator. I used these sources as references for my implementati...
Bocanegra asked 26/11, 2020 at 15:32
10
I need to declare this variable to type any? This shows up in my visual code editor in my HTML template.
product-form.component.html
<div class="row">
<div class="col-md-6">
<...
Redcap asked 24/11, 2017 at 4:21
0
I am using @angular/fire in my project to use firebase. To test the integration with firebase services I run firebase emulators: start in the command line. While serving the angular application wit...
Susie asked 29/11, 2020 at 23:6
6
I have a firestore collection called Posts
I make an insert on the client side and it works.
I want to add the createdAt and updatedAt fields to every insert in my posts collection firestore using...
Slavish asked 5/10, 2018 at 8:0
1
Solved
Trying to run @angular/fire on Angular 11 and @nguniversal/express-engine (SSR).
When init AngularFireModule in app.module.ts there are error when running command npm run dev:ssr or npm run serve:s...
Oneness asked 19/11, 2020 at 18:3
3
Solved
I've updated from Angular 5 to Angular 6. Now I'm trying to update my code to make it compatible with RxJS 6.
.pipe(
map(job => job[0]),
switchMap((job) => {
return job ? this.bookingSer...
Stillborn asked 23/5, 2018 at 1:46
6
Solved
Apologies as I can't think of a better way of including all the information... When I run this, I get an error saying the following. I've followed the Ionic Docs to the T, I can't figure out what c...
Castanets asked 4/5, 2017 at 1:36
3
Solved
I'm trying to set up unit tests for a sample Angular 2 app using AngularFire 2 auth, the component is fairly simple:
import { Component } from '@angular/core';
import { AngularFire, AuthProviders ...
Arredondo asked 26/6, 2016 at 20:36
2
I'm working in an Angular6 app with angularfire2. I'm setting the roles as custom claims in user creation, but it doesn't seem to propagate.
When I'm creating the user I send the userid, businessi...
Webbing asked 9/10, 2018 at 20:51
5
Solved
I have the following code:
//Loop: For each user ID/Role ID, get the data
userMeta.forEach((businessRole) => {
Observable.forkJoin(
af.database.object('/roles/'+businessRole.$value),
af.data...
Wiser asked 28/10, 2016 at 10:19
2
Solved
I have a working authentication using the angularfire2, I am just wondering if there is another way to check if the user is authenticated after the user recently logged in w/o hitting the server?
T...
Fade asked 15/4, 2017 at 6:11
2
Solved
I would like to display a small loading logo while the firebase authentication is retrieving a user token, before starting "for real" the single page application.
So far I have an authentication ...
Necessitate asked 30/5, 2020 at 8:23
4
Solved
My objective:
The web app (similar to Google Drive) has 2 screens.
First screen is 'My Story' which displays all the story documents whom I'm the owner.
Second screen is 'Shared with me' which ...
Album asked 21/2, 2019 at 16:1
4
I'm getting error in angular 4 when i try to make phone authentication.
I got this error in console
reCAPTCHA container is either not found or already contains inner elements!
I don't see the...
Aesthesia asked 21/7, 2017 at 7:6
5
Solved
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...
Redistrict asked 11/7, 2018 at 18:50
1
I have my cloud function
import * as functions from 'firebase-functions';
const runtimeOpts = {
timeoutSeconds: 540,
memory: "1GB" as "1GB"
}
...
export const helloWorldAllow...
Church asked 26/6, 2020 at 3:54
1
Solved
Hi I got this error in one of my ETE tests which exercises login functionality and start up behavior for my angular app.
The appears to be triggered by logging in using
await this.angularFireAuth...
Dwanadwane asked 17/6, 2020 at 15:27
© 2022 - 2024 — McMap. All rights reserved.