Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS: I cant get this to work #124

Open
charlesmudy opened this issue Aug 22, 2021 · 0 comments
Open

IOS: I cant get this to work #124

charlesmudy opened this issue Aug 22, 2021 · 0 comments

Comments

@charlesmudy
Copy link

Hello,

I am a bit lost on how to get this to work. I followed the guide with the installation added:

The code below is placed inside a click function ... inside Cordova ready

cordova.plugins.firebase.auth.verifyPhoneNumber("mynumber").then(function(verificationId) {
    // pass verificationId to signInWithVerificationId
alert("Got here") // it never got here
}).catch(function(err) {
    console.error("phoner number verification failed", err);
});

It keeping saying firebase is not a function Not sure what I'm missing ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant