All Questions
Tagged with firebase-realtime-database angular
1,396 questions
0
votes
2
answers
113
views
Property 'list' does not exist on type 'DatabaseReference'
@Injectable({
providedIn: 'root'
})
export class ChatService {
config = {
apiKey: "",
authDomain: "",
databaseURL: "",
projectId: "",
...
0
votes
1
answer
36
views
AngularFireDatabase import causing me login/sign up problems - Angular
sidebar.service.ts ( service file for dashboard component ) :
constructor(private db: AngularFireDatabase) {}
getUsers(): Observable<any[]> {
return this.db.list('/users').valueChanges();
...
0
votes
0
answers
30
views
How can, I go about pulling 5 different enpoints as one
I was trying to get Angular Fire to pull a list from 5 different entries in RTDB.
The data looks like this
{
"things": {
"one" : [],
"two" : [],
...
0
votes
0
answers
36
views
How can I query a few levels deep in AngularFIre?
I am trying to get some data from a database where I want only objects that contains a certain key/value pair to be returned.
I am using RTDB with Angular Fire.
Lets say this is the data
{
"times&...
1
vote
2
answers
66
views
How to get the json object with Typescript?
I am trying to get job by job_id via firebase rest api. I am getting this JSON result below. How i can rid of the 0 and get the object?
And Is there better way to get the job via firebase rest api?
...
0
votes
1
answer
21
views
Can Angular App act as an Authenticated USER for RTDB?
No code here just question.
I would like to allow only authenticated users to read from RTDB, but I would not like every user to sign up. What I would prefer is to have one login that is tied to the ...
1
vote
1
answer
60
views
Why is it so complex to convert AngularFire Observable to Array?
I am calling data from Firebase RTDB and that data is in an Observable. The issue I am having here is that, in my .TS file i would like to access the content of the Observable, that thought seems to ...
0
votes
2
answers
66
views
Is it not possible to change this route after initial load?
I am trying to update the path to Firebase RTDB when I click a button, but angular won't allow. I am using angular-fire.
This is the HTML
<button type="button" (click)='race_no("...
-1
votes
1
answer
64
views
securing firebase issue in angular
i am using angular 11 and created chat component with firebase realtime database. I added following rules to firebase db.
{
"rules": {
".read": "auth != null && ...
0
votes
1
answer
250
views
Firebase Realtime Database CORS Error While Using Angular
I am getting CORS error when trying to send data to Firebase Realtime Database. It only happens when I use Angular not React. I did a contact me section to get mail from anyone that wants to send ...
0
votes
1
answer
140
views
Firebase geoFire set error - Cannot read properties of undefined (reading 'pieceNum_')
I am updating an old Ionic Angular app and I upgraded my firebase module to 9.23.0 and the geofire module to 6.0.0. In doing so when I call the set function on geoFire, with an id and an array of ...
0
votes
1
answer
195
views
Query data in realtime database with AngularFire in nested structures
I have the following path in the Firebase Realtime database:
/dataTables/userId/dayDate/tableID/rowWithData
The structure of rowWithData is like this:
{
"-NLBD8PD7i5DPfdgF": {
&...
0
votes
1
answer
52
views
in firebase angular I fetch data with snapshotchanges subscribe but whenever I update the date in another function Subscribe call two times
In my angular application one of my components I run the below code in the ngOnInit() function.
const current_date = new Date();
this.afs.collection('/layouts', ref => ref.where('store_uid',...
1
vote
0
answers
32
views
Maximum Callstack Exceeded Error when deleting Child node in firebase
I am using Angular with Angular fire to connect to my firebase realtime database. The structure of the realtime database looks like this:
-requests
|-openRequests
|-{RequestId}
|-...
|-...
0
votes
1
answer
60
views
How to retrieve data as an array using Firebase
I just finished an Angular course and a couple of YouTube tutorials, and I'm trying to make my own web app. I successfully stored data in Firebase and now I'm trying to retrieve it. But I have this ...