All Questions
55
questions
1
vote
1
answer
435
views
Trying to subscribe to a behavior subject in my user profile component but I keep getting initial null value
I have a user profile component that is trying to subscribe to a behavior subject in my user service. I set the initial value of the behavior subject to null. When a user signs up, I pass values to my ...
1
vote
2
answers
3k
views
Angular 8 & Firebase AuthGuard still redirecting to login after user logged in
I'm having a trouble on the after logged-in, the links are not working or I cannot access the routes / links and still redirecting me back to the login page. What the correct output should be is I can ...
1
vote
1
answer
1k
views
I have error when i run "cordova run android"
I have the problem below when i run "ionic cordova run android" or when i build android, can same one help me plz.
When i run "cordova run android" i have this error, help me please.
BUILD FAILED ...
1
vote
1
answer
1k
views
Property 'id' does not exist on type 'void'
Im trying to implement an audit trail for all actions for my angular application, like 'delete' 'addUser' 'update' etc. i was able to implement this successfully with the 'post blog' function which is ...
0
votes
1
answer
91
views
Register user with same email with different provider when email already registered throws no error
Ive registered a user with google oauth. When i try to use the same email to register a microsoft user, i get endless loading screen. Im first redirected to the provider to sign in with provider ...
1
vote
0
answers
258
views
is it possible to draw multiple latitudes and longitudes in AGM (Angular Google Map) for tracking?
Im trying to do the vehicle tracking using AGM in Angular 7 where it is also necessary for me to show the path where the vehicle has travelled.
Right now i am able to give only two locations which ...
0
votes
0
answers
21
views
Different firestore behavior in prod build and local serve
I am encountering an issue upon trying to retrieve values from my firestore collection.
In short, everything is going well in dev and test builds but as soon as I build my app for prod and run it on ...
0
votes
1
answer
177
views
Issues during Batch Transaction update in Firestore
Functionality:
I have a function batchItemUpdate that gets a list of items. Each item has an array called batches.I am updating batches of each item in items list.As there can be a lot of items I am ...
1
vote
0
answers
172
views
fcm onNotification not called when app not active
I have a problem in fcm.onNotification. But in my case, I get the notifications when the app is in background, as I would expect.
But when I tap on the notification the onNotification handler is not ...
0
votes
0
answers
201
views
How to retrieve a specific Firebase document id from a query that returns just one document using @angular/fire
I am trying to update a sub-collection inside the most recent entry in a Cloud Firestore. The sub-collection is called "timer" and it is inside of a collection called "matches1". Currently I am ...
-1
votes
2
answers
713
views
how can I solve this error code in angular bootstrap ng serve?
1- in "app.compomnet.html " I use a starter template code
https://getbootstrap.com/docs/4.3/examples/starter-template/
2- I installed bootsrap4 "npm I bootstap@4 --save " in terminal
3- I add ...
0
votes
1
answer
28
views
display all the users from the firebase
I need to display all the users that were created in the firebase
I tried to make a list of observable but it didn't show anything
export class UsersListComponent implements OnInit {
users: ...
6
votes
1
answer
9k
views
Retrieve Images from Firebase Storage Using Angular 7
I can not display the images stored in my firebase storage in my angular 7 app. How do I do this without using a service and a simple retrieval of the images from the root of the storage in component ...
2
votes
2
answers
7k
views
Where do I add firebase.initializeApp() in my angular 7 project?
Im trying to deploy my angular app to firebase hosting and I get the following error in console:
Uncaught FirebaseError: "projectId" not provided in firebase.initializeApp.
I have this in my app....
0
votes
1
answer
52
views
Receive error when i try to update data in my fireStore collection
I'm starting to code my new website and search to update "users" collection on fireStore database
I'm using Angular 7 and Cloud Firestore.
I have created my first collection "users" who contain my ...