-
Hey! I'm building a ionic/angular app using firebase auth and everything works perfect. When I try to run the app on my iphone using capacitor live reload, I'm not able to load the firebase emulator. I have the following code to init my firebase app.
So, what I tried is commenting out the capacitor conditional to use the js sdk (even if I'm on mobile) but I feel this is not the right path 😫. Does anyone know how to configure everything so I can use the firebase emulator with Capacitor live reload? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey @djabif,
Feel free to let me know if any of this has helped you. |
Beta Was this translation helpful? Give feedback.
Thank you so much for your help Robin, I was able to make it work 👏🏼 🙏🏻
My problem was the
http
, it's only needed in the web environment, not in capacitor.So my final initialization method looks like this: