React Native Firebase
    Preparing search index...

    A result from a signInWithPhoneNumber call.

    // Force a new message to be sent
    const result = await firebase.auth().signInWithPhoneNumber('#4423456789');
    const user = await result.confirm('12345');
    interface ConfirmationResult {
        verificationId: string | null;
        confirm(verificationCode: string): Promise<UserCredential | null>;
    }
    Index

    Methods

    Properties

    Methods

    • Finishes the sign in flow. Validates a code that was sent to the users device.

      Parameters

      • verificationCode: string

        The code sent to the users device from Firebase.

      Returns Promise<UserCredential | null>

    Properties

    verificationId: string | null

    The phone number authentication operation's verification ID. This can be used along with the verification code to initialize a phone auth credential.