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

Plugin Workflow question #85

Open
ppRaistlin opened this issue Jan 23, 2020 · 0 comments
Open

Plugin Workflow question #85

ppRaistlin opened this issue Jan 23, 2020 · 0 comments

Comments

@ppRaistlin
Copy link

Hi,
first thanks for your great work. I have hard time understanding the connection workflow for both Android and IOS. Here is what I believe I understood :

1st connection to application (both Android & iOS - no automatic SMS retrieval)

verifyPhoneNumber --> get SMS --> signInWithVerificationId (sms + verificationid from verifyPhoneNumber)

THEN
Android :
onAuthStateChanged() fired --> OK ! Registered on Firebase !
IOS
onAuthStateChanged ?

Then IRL, the user closes the APP completely

.. a few days later, he opens the app again:
Android : onAuthStateChanged fired automatically ?
IOS ?

I guess the complete process is not to be done again ?
Without showing example of code, could someone please explain me the workflow in a casual case ?
Thanks for your help

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