Skip to content

Remove previous callbacks for wrong number entered. #1396

@quantumInfection

Description

@quantumInfection

Step 1: Are you in the right place?

Yes.

Step 2: Describe your environment

  • Android device: Any
  • Android OS version: Any
  • Google Play Services version: 11.8.0
  • Firebase/Play Services SDK version: 11.8.0
  • FirebaseUI version: 3.2.1

Step 3: Describe the problem:

Steps to reproduce:

  1. Enter wrong number.
  2. Enter another wrong number again.
  3. Enter correct number.
  4. Wait for the Sms auto fill. First it shows 'Wrong code entered' and then logs in.

Observed Results:

It generates 3 different callbacks for onVerificationCompleted for the first two callbacks signInWithCredential fails due to wrong number and it goes to success for the last one.

Expected Results:

It should auto cancel all previous callbacks or there should a way to cancel previous callbacks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions