Questions tagged as 'angular-fire-2'

0
answers

How to return a Promise from an AngularFireObject using @ angular / fire in Angular (v6 +)

Hello, I'm working on an Angular project where I need to return a Promise on a given service. My code looks like this: import { Injectable } from '@angular/core'; import { AngularFireDatabase } from '@angular/fire/database'; @Injectable...
asked by 30.10.2018 / 14:43
0
answers

Error 403 disallowed_useragent, when logging with google in mobile browser using angularfire2

Hello, I'm using the package angularfire2 v4.0.0-rc.2 in an angular project4 posted in firebase. I have integrated the facebook and google logins and both are working perfectly in the pc browser and also in a native android app. When I try...
asked by 11.09.2017 / 05:24
1
answer

"Function expected" error when using ngFor to return a Firebase string, using Ionic 3 and AngularFire2

Galera, I'm using Ionic3 and Angularfire2 as follows. I created a .ts file named servide where I export a champaign getAll function to get all the list of a table named 'colors' in Firebase. constructor(public db: AngularFireDatabase) { }...
asked by 02.11.2018 / 22:16
0
answers

Ionic 3 - How to convert an object into an Array for Iteration in the template (Firebase 5, @ angular / fire 5)

Hello I'm using the Ionic in version 3, Firebase 5 and @ angular / fire 5. I'm trying to get my users through my user.service.ts: import { Injectable } from "@angular/core"; import { AngularFireDatabase, AngularFireObject } from "@angu...
asked by 23.10.2018 / 22:49
0
answers

Return firebase values from a service to angular component 6

I'm creating an application with angle 6 and firebase using angularfire2, I chose to use the firestore where I have a collection called pages like in the image: I basically created a service - "PagesService" where I have a function that re...
asked by 24.07.2018 / 15:21
0
answers

Connect the Firebase authentication user with data in batabase realtime to angularfire2

I have a feed, when the logged in user shares a news, it goes to my feed with the name and photo of the user (like facebook) but, if the user changes his name or photo, the news that have already been will not change just the next news! I want t...
asked by 24.07.2018 / 18:34
0
answers

How to make a filter in the firebase query with angularfire2

I'm trying to bring from firebase only TCPs with level 4, using indexOn and angular fire, but still it always comes empty.     
asked by 18.07.2018 / 13:20
0
answers

Search for user by attribute no angularfire

I have an application on ionic with angularfire2 in version 5. How do I get the user's UID by email? Currently, my code looks like this: const usuariosRef = this.db.list('usuarios/uid', ref => ref.orderByChild('email').equalTo(this.email...
asked by 27.05.2018 / 14:26
3
answers

(AngularFire2 + Ionic3) Retrieving value from a child to a variable

Good morning, I'm new to the Ionic / AngularFire branch and I'm having a hard time recovering the value of a child from within my Database. The idea is to take this value and store it in a variable so I can make some comparisons within my code....
asked by 25.04.2018 / 14:24
1
answer

Show template according to user status

I am developing a system but I am having difficulties in the authentication part, or rather not in the authentication part, but in the part of showing or not certain content according to the status of the user (logged in or not). Basically, I'...
asked by 23.03.2018 / 14:39