All Questions
16 questions
2
votes
2
answers
2k
views
angular firebase configuration Already using account
Trying to configure firebase in my angular app.
Created a new firebase project in the console and want to create a new angular project using firestore in the new firebase project.
However, get error &...
0
votes
0
answers
1k
views
Calling an onCall function in Firebase Functions using AngularFire results in a 404 error, while returning the expected result
I have created a few onCall cloud functions using Firebase. These functions interact with Stripe through the API. When I use AngularFire, or more specifically, AngularFireFunctions to call these said ...
1
vote
2
answers
533
views
Unable to return data from cloud function using https callable
I am calling the following cloud function from my Angular application, but the value returned is always null even though the cloud function is correctly logging the result. Not sure what I am doing ...
1
vote
0
answers
460
views
Cloud firestore - adding object to an array of objects
I am using Cloud Firestore (not Realtime Database). I have a document of user details containing an array (cards) of user credit cards, i.e. Card objects. A card object is structured as follows:
{
...
1
vote
1
answer
44
views
Angular add new doc in firestore without list
I am new in angular and firebase, I got a crud operation project which work like below
export class EmployeeService {
employeeList: AngularFireList<any>;
selectedEmployee: Employee = new ...
0
votes
1
answer
45
views
AngularFire2 Firebase promise doesnt work under mac
I have in my pacakge.json following version of firebase
"angularfire2": "^4.0.0-rc0",
"firebase": "^4.3.1"
in my Ubuntu when I build for Android it works flawlessly without any problem. But when I ...
1
vote
2
answers
1k
views
error in npm installing angularfire2 and firebase
I was trying to install angularfire2 and firebase with npm like this
$ npm install angularfire2 firebase --save
The problem I am getting is
gyp ERR! build error
gyp ERR! stack Error: `C:\Program ...
1
vote
1
answer
83
views
Ionic prevent add data if firebase data is 0
I'm making an Ionic stock inventory application. In my available stocks page, I'm tracking user data like this:
<ion-item *ngFor="let stock of stocks | async" class="item item-trns text-center"
...
0
votes
1
answer
70
views
AngularFire2 > Firestore > Complex queries with `in` or not `in`
I've been following this tutorial to build a rating system.
Which suggests the following collections:
Movies:
uid
title
Users
uid
name
Stars
movieId
userId
value
Now, suppose I wanted to ...
0
votes
2
answers
1k
views
I am trying to install [email protected] and [email protected] using npm but getting the follwoing error
UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
├── UNMET PEER DEPENDENCY @angular/[email protected]
├──...
0
votes
1
answer
751
views
Retrieving id in firebase database
I'm currently trying to build somethin with googles firebase and I ran across a problem. It seems that this snippet of code
export class FirebaseService {
items: Observable<Item[]>;
...
3
votes
3
answers
6k
views
angularfire2: The Cloud Firestore API is not enabled
I'm currently learning to implement angularfire2 in my project. Unfortunately I'm currently stuck. I set up my Angular-Project like described here
https://github.com/angular/angularfire2/blob/master/...
0
votes
1
answer
288
views
how can i check if an existing node in firebase using angularfire2?
im checking to see if a node exists in firebase if my function returns false
i use the push method if true i will use the update method.
this is my function it takes the id:
checkIfExist(path:string){
...
1
vote
1
answer
5k
views
npm will not install Firebase
I am working on an Ionic app and want to include Firebase. Apparently, this is not as easy as it is for web pages. So, I followed this tutorial. Under "Setup the App", it says to
npm install ...
0
votes
1
answer
73
views
Share AccessToken between AngularFire2/Firebase and NodeJS
I feel like I am wanting to do something that is either easy, or very wrong. Not sure which one yet.
I am wanting to build an application that is backed by Firebase for:
Authentication
Realtime ...