Skip to main content

All Questions

0 votes
1 answer
181 views

How to append new data to array stored on firebase's firestore? Node, Ionic3, Angular,Javascript

Need some help. I am unable to access arrayUnion or FieldValue from firebase.firestore. I have array of maps stored on firestore. I need to append data in same array with increment in index even {...
Ajinkya's user avatar
0 votes
2 answers
70 views

How to get an array value from Firestore?

I have the data structure illustrated below stored in Cloud Firestore. I have saved company record in Firestore database and i want to check my domain is exist in company's domain array or not and if ...
Sandip Moradiya's user avatar
0 votes
1 answer
66 views

Viewport not displaying data received from ts constructor

I am receiving data in constructor using where condition from Firestore. When I console.log I see my array but it does not reflect on viewport home.html till I click anywhere on page or change ...
user avatar
0 votes
1 answer
368 views

Push data in array but after converting timestamp to date

Fetching data from Firestore and pushing it into an array. This is working fine but in this process I am changing timestamp format and I want this value of timestamp in my array and not the original ...
user2828442's user avatar
  • 2,485
3 votes
1 answer
6k views

Firebase Giving Failed Precondition Error

Am getting the ff error with the ff code: Error: {"code":"failed-precondition","name":"FirebaseError","__zone_symbol__currentTask":{"type":"macroTask","state":"notScheduled","source":"setTimeout","...
marvin ralph's user avatar
  • 1,160
3 votes
1 answer
345 views

How do I implement a app-wide notification feature when there is a change in my Firestore collection in Ionic 3?

I am currently developing an ionic 3 project which has a chat feature implemented in it. I am using firebase firestore as my database. My goal is to implement an app-wide notification feature that ...
Bard 's user avatar
  • 31
1 vote
1 answer
1k views

Static or fixed URL for Firebase storage images

My app is in Ionic 3 and images are stored in Firebase storage. To get the URL in runtime the following method needs to be used. firebase.storage().ref().child(filePath).getDownloadURL(); This call ...
Tapas Mukherjee's user avatar
0 votes
1 answer
1k views

Unable to use collectionGroup query in AngularFirestore

I am using AngularFirestore and Ionic 3. I want to use the collectionGroup query feature of Firebase but I am not getting this option either by importing AngularFirestore or doing import * as firebase ...
Tapas Mukherjee's user avatar
1 vote
0 answers
36 views

Firebase.Auth.UserMetadata variable a and b in ionic 3

In my Ionic3 project, my DB is cloud firestore. When I cosole log the value for Firebase.Auth.UserMetadata using syntax this.afAuth.auth.currentUser.metadata (afAuth is AngularFireAuth), I get ...
Tapas Mukherjee's user avatar
0 votes
1 answer
902 views

Unsubscibe from firestore onSnapshot listener when the user just exits from the app

I was facing problem while I'm trying to implement unsubscribe on firestore onSnapshot listener. The problem is while I'm try to override the functionally of back button the back button doesn't closes ...
Abhishek's user avatar
  • 548
0 votes
1 answer
494 views

Create documents in different firestore collections, with same reference ID

My question is actually twofold, so I m not sure I should ask both in one post or create another post. Anyway, here it is: I am creating users in firestore database. I do not want to put all details ...
PhoenixBlue's user avatar
0 votes
1 answer
259 views

Firestore data is not syncing when app is closed

I am using ionic 3 and cloud firestore. I have enabled persistance data for offline capability. The data is syncing when the app is open. But the data is not syncing when the app is closed. Any ...
Krishna's user avatar
  • 202
0 votes
1 answer
74 views

Ionic 3 Firestore Document not deleting

I am trying to remove doc from my ionic app but its not working and not showing error . can any one please help how ill remove doc Thanks home.html <ion-content padding> <ion-list *ngIf=...
Umaiz Khan's user avatar
  • 1,177
0 votes
1 answer
3k views

How to use snapshotChanges() with firestore and ionic 4

Hi myfriends i have code in my ionic4 app to retrieve a data from firestore and i try this code to do that but it didn't show any of those data i tryed use snapshotChanges() in my code but it's ...
Rasool ALmusawie's user avatar
0 votes
1 answer
121 views

Pull to refresh VS Real-time VS Observable/Subscription pattern

Statement 1: If we have a Real-time pattern(Firestore) then we don't need the pull to refresh features on the mobile app. Note: I know the above statement is correct. Statement 2: Can we achieve ...
Sampath's user avatar
  • 65.3k

15 30 50 per page
1
2 3 4 5
8