by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 22:01
    fmandres92 commented #1904
  • Jan 31 2019 10:47
    rsRamgharia commented #1781
  • Jan 31 2019 07:15
    rsRamgharia commented #1015
  • Jan 31 2019 07:15
    rsRamgharia commented #1015
  • Jan 29 2019 17:48
    Jemonge commented #1938
  • Jan 29 2019 17:47
    Jemonge commented #1938
  • Jan 29 2019 09:23
    L96Github commented #1687
  • Jan 28 2019 10:17
    webdevelopland commented #1993
  • Jan 28 2019 09:58
    webdevelopland commented #1993
  • Jan 27 2019 22:26
    thefliik commented #1999
  • Jan 27 2019 22:25
    thefliik closed #1999
  • Jan 27 2019 22:25
    thefliik commented #1999
  • Jan 27 2019 22:07
    thefliik edited #1999
  • Jan 27 2019 22:04
    thefliik opened #1999
  • Jan 27 2019 10:16
    akashjadhav1221 closed #1997
  • Jan 26 2019 20:58
    jymdman commented #1983
  • Jan 26 2019 20:15
    skotturi commented #1808
  • Jan 26 2019 20:12
    skotturi commented #1808
  • Jan 26 2019 20:09
    skotturi commented #1808
  • Jan 26 2019 13:48
    jymdman commented #1983
seairth
@Seairth
@Diex Have you considered just including the country name in the artist document?
Tot
@totakurasivanaga
Heloo All, how to handle Cross-origin- issue from client side, created the proxy.conf.json file and added key and value inside angular.json "proxyConfig": "src/proxy.conf.json" but still am getting 'CORS 'Issue, any Advice or suggestion or link ,much apperciated.
Note: without use any cors plug in and no need to add anything in server side solution am excepted
iammikecohen
@iammikecohen
Is there any way to use @angular/fire with Angular 9 / Ivy?
François
@GrandSchtroumpf
Yes, use the next version : ng add @angular/fire@next
Anthony Nahas
@AnthonyNahas
I am proud to introduce today ngx-storage-firebaseui , open source angular library created with angular material for firebase storage. Upload with one click multiple images to firebase. If you are familiar with ngx-auth-firebaseui, you would to add this lib to your project! Any feedback and comments are welcome! A big thanks for the angular community
https://github.com/AnthonyNahas/ngx-storage-firebaseui
Code0987
@Code0987
Any idea why getting Error: Not supported at apply (node_modules\@angular\fire\bundles\ng:\@angular\fire\auth\auth.ts:47:52), with Angular 9 SSR ?
François
@GrandSchtroumpf
Which version of angular fire are you using ? 6.0.0-rc1 seems not to work with SSR
Code0987
@Code0987
Using the latest one v6.0.0. Looks like auth is not built for SSR server part. Worked with temporary fix to ignore checking auth in server mode.
Salik Sadruddin Merani
@echosalik
Hi all. When i call AngularFire Function in a service i get Cyclic dependency error
Ferenc Szalai
@szferi_gitlab
I'm using angular/fire 6.0.0 and angular 9.1.0. The application works fine until I try to add AngularFireAnalyticsModule. Then I get
a) "ERROR Error: Cannot instantiate cyclic dependency! AngularFireAuth" when I load any component which injects AngularFire service.
b) Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'? warning and the router stops working.
Does anybody experience the same issue? Any hint how should I find what exactly causing this issue?
Salik Sadruddin Merani
@echosalik
@szferi_gitlab hey i just had the same error... are you using any modules in your app?
and have you loaded anything AngularFire* in AppComponent?
Ferenc Szalai
@szferi_gitlab
Yes, the component where I get the error Is in a separate module which is dynamically loaded by the router
Salik Sadruddin Merani
@echosalik
yeah same scenario... you'd have to remove any invocations in AppComponent
Ferenc Szalai
@szferi_gitlab
There is nothing in my AppComponent it is just a single router-outlet tag.
Salik Sadruddin Merani
@echosalik
and in the constructor?
Ferenc Szalai
@szferi_gitlab
nothing
Salik Sadruddin Merani
@echosalik
oh... well... try to trickle up for the module you have a problem with... somewhere you calling something that is being called in the child....
that was my issue
Ferenc Szalai
@szferi_gitlab
Thanks
Salik Sadruddin Merani
@echosalik
no problem...
:)
Ferenc Szalai
@szferi_gitlab
It seems the AngularFireAuthGuard causing the real problem
Salik Sadruddin Merani
@echosalik
do your sub module routes have auth guard aswell?
Ferenc Szalai
@szferi_gitlab
I have two modules main and front both lazy-loaded from the App module route. The app module route do not have any guard but the submodules have. Both use AngularFireAuthGuard
Salik Sadruddin Merani
@echosalik
oh i havent tried that... it's in my todo list... good to know that it might bork out if i dont set it right...
simkepal
@simkepal
Hello everyone! I just updated my project to latest versions of angular and angulafire. After authentication in my app i get this error Cannot read property 'host' of undefined. in vendor.js. After a little research, I found out, that where this happens is in node_modules/@firebase/firestore/dist/index.cjs.js on line return new Ae(this.KT, this.XT, this.em.host, this.em.ssl, this.em.forceLongPolling); Can anybody help me with this problem, please! Thank you very much!
Max Fritz
@fritzschoff
Hey, I'm excited to finally announce that akita-ng-fire is now on version 2.0.0 !
François
@GrandSchtroumpf
Yeah ! 🎉
Jackseed
@Jackseed
Oh God congratz @fritzschoff
Dennis Keulen
@DennisKeulen
Hi all, i have been working with NG for a long while now, but just always frontend. now i am trying to use firebase and when adding it with "ng add @angular/fire" i get this error: architect_1.createBuilder is not a function. Now i cant find anything related under firebase with google, but some other topics i find specify adding builder packages. On a note, i rececently upgraded to the latest ng cli, and nodejs 14 etc. Is there anything i am missing or doing wrong? any one can advise on this?
lilalinux
@lilalinux
"ERROR FirebaseError: Function CollectionReference.add() requires its first argument to be of type object, but it was: an object"
WTF?
lilalinux
@lilalinux
Since when is "an object" not "of type object"?
lilalinux
@lilalinux
Got it. The first "object" meant a json object, the second object is an instance object. fixed it with the spreadOperator: { ...myObject }
dibs
@dibs
I'm trying to update a project from angular 5 to 9 and have managed to get to 6.1 however when I try to jump to 7 I get complaints about @angular/fire having an incompatible dependencies to @angular/common, @angular/core, @angular/platform-browser and @angular/platform-browser-dynamic. Can anyone tell me how to get past this issue?
Max Fritz
@fritzschoff
what angular/fire version you are on?
csudarshan259
@csudarshan259
Hi, I need to access sub-collection from firestore database. But i'm getting value as undefined. Here's my code. let docref = this.afs.firestore.collection('teams').doc(uid); docref.get().then((doc) => { console.log(doc.data()); });
Please help. Thanks.
François
@GrandSchtroumpf

Depending on what you want to access :
access subcollection:

afs.collection(`collection/${docId}/subcollection`).ref.get().then(col => col.docs.map(doc => doc.data()))

access doc in subcollection:

afs.doc(`collection/${docId}/subcollection/${id}`).ref.get().then(doc => doc.data())
Jianhua Huang
@jianhua415
Hello, is it possible to show an image from Cloud Firestorage in Material Data Table, where the Data Table is populated by Cloud Firestore? Appreciate any pointers!
François
@GrandSchtroumpf
The best is to store a reference to your image in your firestore document. I would recommend to store the firestorage reference & url in your document to be able to load it quickly (with the url) and update/delete the firestorage reference if needed.
Jianhua Huang
@jianhua415
Thank you Francois, so image rendering is possible as described. I am using a fileRef field in Cloud Firestore to render the image but it is just displaying the typed written URL than the actual image in the Material Data Table. any thoughts? Thanks
François
@GrandSchtroumpf
What do you mean by "typed written URL". could you share an example ?
Jesús López Morales
@jeslomo
Hi, I would like to deploy an application with Angular Universal and I would also like to be able to enjoy the Functions but when executing "ng add @ angular / fire" it automatically adds in the / dist folder the function that the app raises.
Do you know any tutorial where it tells me how to manage the separate functions and that I can keep universal angular?
mikkimonroe
@mikkimonroe

is anybody else seeing the following with Ionic 6 or at all?

ERROR in The target entry-point "@angular/fire" has missing dependencies:

  • firebase/app
i'll assume it's my dev env and refresh it and try again.
mikkimonroe
@mikkimonroe

the firebase package does not support schematics for automatic installation. it must be manually added via npm to solve the above problem (https://gitmemory.com/issue/angular/angularfire/2371/608019908)

npm install --save firebase

problem exists with new ng projects (Ionic is not the issue)