All Questions
354 questions
0
votes
1
answer
43
views
onAuthStateChanged doesn't return the initial null value on iOS
I am migrating an Ionic/Angular app from using a combination of Firebase and Angular/Fire Namespace compat libraries to the Angular/Fire modular libraries.
The updated code, using @angular/fire ...
2
votes
1
answer
70
views
angular/fire docData works on chrome/safari macos but never emits on capacitor-ios
the angular/fire method docData works on chrome/safari macos but never emits on capacitor-ios (capacitor uses webkit-safari on ios)
I can see that the game-object is really exisiting since it shows up ...
0
votes
1
answer
607
views
Ionic Capacitor and Firebase Firestore
trying to make Firebase Firestore work in Ionic Capacitor on an iOS device for five hours and I'm losing my nerves right now. Hope you can ramp me up here.
The setup:
Ionic:
ionic (Ionic CLI) ...
0
votes
1
answer
68
views
Can't output data from Firebase in Ionic Vue iOS capacitor App
I am building an iOS app with Ionic Vue and using Firebase as a DB.
When I am running my app in the browser as pure JS code everything works fine. All of my DB queries return data as expected. When I ...
-1
votes
1
answer
265
views
How can I implement firestore into my ionic react project?
In my ionic react project I have tried to implement firebase's firestore using the official google docs. However, I get an error in my IDE under const db = firebase.firestore();
This is the error I ...
4
votes
1
answer
1k
views
How do I listen to changes in Firebase custom claims?
I am creating an app in Ionic Vue with Firebase as my backend.
I am using Firebase custom claims to assign user roles ('paid user' or 'free user') and I have set up a cloud function that assign the ...
0
votes
0
answers
263
views
Firestore field delete only making the field null instead of removing
I have a script which is being weird! When I run it, it won't delete the field on the document but instead sets the field to null. Never seen this before.
Code:
await firebase
.firestore()
....
1
vote
1
answer
195
views
Data not rendering after returning from Firestore onSnapshot
I am using an Ionic/Angular frontend here. My data comes back from Firestore correctly. It also comes back after a change has been made to the firestore document.
However, the data never renders to ...
0
votes
1
answer
47
views
Filter firestore request by separate steps
I am making a filter so that a user can search for exactly a few parameters, without having to put them all in the form. For example you could search for games of type X but of all genres (Leave the ...
0
votes
1
answer
679
views
How to push notification with firebase FCM to all users of my App with Ionic?
I need to notify all users with latest news , i did only notification
method with token of user but notification shown only on the device of
this user ,i need to notify all users
of my application , ...
2
votes
2
answers
2k
views
Can I Auth a user through Firebase and use Supabase (private) buckets without relying on Supabase Auth users limitation
I have an Ionic application that use a pretty small file(1kb) to store user info. I want to implement cloud backup for it. The user just need to download it once, when restoring backup. All other ...
0
votes
1
answer
341
views
ionic Angular 9 wait until file download url is available
I am using ionic 5 and angular 9 to upload a data url to firebase storage. My code works good but i am not sure how to wait until the download url is avaialble.
below is the code
uploadToFireStore(...
0
votes
3
answers
285
views
How to add a Promise .then() to an Array.push?
I have an array however, one of the object children needs to get data from another location in my Firebase Database to show in the array. This requires a Promise.
How do I show the data from the ...
5
votes
2
answers
646
views
Firebase realtime database not working on Ionic iOS in real build but works in live reload
I have a wired situation, been struggling for a while on this.
I have implemented inApp chat using Firebase real-time database, This solution is working fine in Android both live reload mode and build ...
0
votes
1
answer
699
views
Checkbox field immediately gets unchecked after checking in Angular/Ionic app
I have a series of data that I am looping through in my app. Each item contains the field checked that represents whether or not the checkbox for that item should be checked. By default, that is set ...