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

Added callback for instantVerification #667

Merged
merged 4 commits into from
May 2, 2018
Merged

Added callback for instantVerification #667

merged 4 commits into from
May 2, 2018

Conversation

hirbod
Copy link
Contributor

@hirbod hirbod commented May 1, 2018

fixes #623

Android can auto retrieve SMS send trough firebase. Some devices won't even get any SMS when they got verified instantly trough google servers. In this case, this plugin is pretty helpless as it can't do anything (there are better plugins outside like https://github.com/chemerisuk/cordova-plugin-firebase-authentication). You will need to call signInWithCustomToken() instead of creating a credential based on verificationId and code (as you wont have id nor code).

This PR will give proper callbacks (instantVerification: true or false).

hirbod added 2 commits May 2, 2018 00:48
fixes #623

Android can auto retrieve SMS send trough firebase. Some devices won't even get any SMS when they got verified instantly trough google servers. In this case, this plugin is pretty helpless as it can't do anything (there are better plugins outside like https://github.com/chemerisuk/cordova-plugin-firebase-authentication). You will need to call signInWithCustomToken() instead of creating a credential based on verificationId and code (as you wont have id nor code).

This PR will give proper callbacks (instantVerification: true or false).
@soumak77 soumak77 merged commit a3b70da into arnesson:master May 2, 2018
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

Successfully merging this pull request may close these issues.

What about android instant verification
2 participants