1

I was using polymerfire with polymer 2.0. However, then I decided to move to polymer 3.0. I tried to use this element https://www.npmjs.com/package/polymerfire3. But it doesn't work. It kept on giving an error

Cannot read property 'signInWithPopup' of undefined at HTMLElement.signInWithPopup (firebase-auth.js:200)

Is there a way to fix this?

Angus
  • 3,680
  • 1
  • 12
  • 27
Dheeraj Sarwaiya
  • 163
  • 1
  • 12
  • this means firebase.auth() is not defined. Have you initialised your firebase app before? – ZuzEL Aug 13 '18 at 23:30
  • Yes. I have been using firebase in polymer 2 for more than an year. Somehow it is working with polymer 3. I am looking for a sample app with firebase with polymer 3 use case, could not find it – Dheeraj Sarwaiya Aug 15 '18 at 00:09

0 Answers0