I have a PSK (Polymer Starter Kit) PWA build with polymerfire, I want to call fetchSignInMethodsForEmail() from Firebase Auth. I have tried the following but with error.
firebase.auth().fetchSignInMethodsForEmail(email).then((methods) => {
// Do something
});
with the error Uncaught TypeError: firebase.auth(...).fetchSignInMethodsForEmail is not a function.
I have tried the following as well with no luck, i.e.
firebase.auth.fetchSignInMethodsForEmail(email);
firebase.$.auth.fetchSignInMethodsForEmail(email); // Assume firebase-auth with id of 'auth'