angularfire2 Questions
4
Solved
I want to get the total number of the documents that exist in firestore.
I don't want to get the data only the total number of inside Products collection I have 200.000 items is that possible with...
Woodley asked 19/11, 2017 at 16:5
7
Solved
How can I access the Error.code property?
I get a Typescript error because the property 'code' does not exist on type 'Error'.
this.authCtrl.login(user, {
provider: AuthProviders.Password,
method...
Reprovable asked 19/10, 2016 at 20:31
11
Solved
I'm trying to retrieve my documents with id but can't figure it out.
Currently I retrieve my documents like this :
const racesCollection: AngularFirestoreCollection<Races> = this.afs.collec...
Trowel asked 24/10, 2017 at 0:29
2
Solved
I am developing a project with angularfire2 v4.0.0-rc.2 in angular4 and publishing it on firebase.
The logins with facebook and google are both working on the desktop browser and on a native andro...
Noontime asked 11/9, 2017 at 21:6
3
I'm trying to impliment auth with persistance in angularfire with this code:
constructor(private auth: Auth, private router: Router) {
if (auth.currentUser) this.router.navigate(this.redirect);
}...
Brilliant asked 23/9, 2021 at 0:56
4
Solved
I recently updated angular because Angular Fire bugs were fixed in a much newer version. My previous version was before the "standalone" changes. As a result, I'm getting this error in th...
Saguaro asked 6/2 at 20:33
8
Solved
Given a given Firestore path what's the easiest and most elegant way to check if that record exists or not short of creating a document observable and subscribing to it?
Ararat asked 15/11, 2017 at 13:3
7
I am trying to use the freshly introduced Firestore emulator in my Angular7 application.
According to this documentation, I run the dev server on 127.0.0.1:8080 with :
firebase serve --only fires...
Airframe asked 19/3, 2019 at 11:21
13
Solved
Using Angular cli v5 and angularfire2 v5, There is no error on console and terminal, all running fine but while calling google login function getting error on browser console.
Source code :
impor...
Caryloncaryn asked 19/2, 2018 at 9:54
3
Solved
I have a Firebase database. I have Companies and Contractors. A Contractor can work for more than one Company and a Company can have multiple Contractors. This is a straightforward many to many rel...
J asked 7/1, 2017 at 22:1
5
Solved
onSubmit(formData) {
if(formData.valid) {
console.log(formData.value);
this.af.auth.createUser({
email: formData.value.email,
password: formData.value.password
}).then(
authState => {
aut...
Holguin asked 1/4, 2017 at 17:53
6
I would like to add @angular/fire into my Nx workspace (Angular app).
I'm trying to keep in line with best practices, however, there's nothing in the official docs regarding adding this library in...
Nuris asked 18/2, 2021 at 9:21
7
Solved
I have project that I need to display a leaderboard of the top 20, and if the user not in the leaderboard they will appear in the 21st place with their current ranking.
Is there efficient way to t...
Siloam asked 13/10, 2017 at 0:58
7
Solved
i need your help, i'm trying to display some datas from my firebase but it trhows me an error like InvalidPipeArgument: '[object Object]' for pipe 'AsyncPipe'.
There is my service:
import { In...
Claudieclaudina asked 1/7, 2017 at 23:5
4
First tried
import { Timestamp } from '@firebase/firestore-types';
and then how to create a Timestamp object?
var now: Timestamp = ???
var now: Timestamp = Timestamp.now() //Module not found:...
Flashy asked 22/7, 2018 at 3:59
3
I'm back at you with another question from Ionic 3 & Angularfire2 !
I changed my pages to make them run on android with plugins and all the stuff needed to use native functiuns at their maximum...
Chickweed asked 18/3, 2018 at 21:11
1
Solved
I've managed to get @angular/fire working in an Angular standalone app, but I'm attempting to turn on the offline capabilities like I have in the past, and I'm now seeing that enableIndexedDbPersis...
Representationalism asked 29/5, 2023 at 22:6
7
In AngularFire you were able to access the providers (e.g Google) accessToken for the authenticated user.
There does not seem to be a way to access this with AngularFire2?
On initial login say li...
Senskell asked 14/10, 2016 at 11:28
4
Situation: I am using FirebaseObjectObservable to populate my Ionic 2 (rc0) template.
Template code:
<ion-card-content>
<p>{{(course | async)?.description}}</p>
<br>
&l...
Rebekah asked 4/10, 2016 at 17:38
8
Solved
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:
Current...
Mashburn asked 5/10, 2016 at 11:35
4
I am basically new to Angularfire2, I am trying to delete a folder from Firebase Storage when the user presses the delete button. Unfortunately, such information is not in the Angularfire2 document...
Univalve asked 12/4, 2018 at 16:28
3
I am having issues with my Angular 6 Interceptor. I have migrated the code from Angular 5.x to 6.0. and rxjs 5.x to 6.x. When I try to create a new user account, the request seems to be called twic...
Parotid asked 27/6, 2018 at 2:26
6
Solved
I searched in many forums, questions, in doc but can't find the correct solution.
Problem
What is the best way to increment a value using angularfire2 ?
I saw we could use [transaction()][] but ...
Sikkim asked 4/3, 2017 at 13:59
3
Solved
I'm building a website using Angular and Firebase. I'm using Angularfire2 and AngularFireAuth libraries and GoogleAuthProvider (Google) as my authentication provider.
Here is my service code:
imp...
Cryptonym asked 24/8, 2017 at 18:50
3
Solved
This page says "toPromise has been deprecated! (RxJS 5.5+)" but I've been using it lately with AngularFire2 (when I only want one result) like this:
const foo = await this.afs.doc(`docPath`).value...
Overexpose asked 3/8, 2018 at 17:20
1 Next >
© 2022 - 2024 — McMap. All rights reserved.