Skip to content

Firebase Auth get VerificationId #104

Open
@sinka49

Description

@sinka49

please tell me how can I get the verificationId, after onCodeSent method called from firebase, to pass it to the method
Firebase.auth.signInWithCredential(authCredential = PhoneAuthProvider().credential("??", "smsCode")) if automatic authorization did not work for some reason?

On the first screen of authorization I call PhoneAuthProvider().verifyPhoneNumber(phone, phoneVerificationProvider).
If automatic authorization did not work I need to pass verificationId and smsCode manually to the signInWithCredential, but I cannot find how can I get verificationId

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions