Skip to content

UI Flashes when singning in with one provider (phone number) #948

@Netstep

Description

@Netstep

Welcome to FirebaseUI and thanks for submitting an issue!

Step 1: Are you in the right place?

yes

Step 2: Describe your environment

  • Android device: Samsung Galaxy A5 2016
  • Android OS version: 7.0
  • Google Play Services version: unknown/latest
  • Firebase/Play Services SDK version: 11.4.2/26
  • FirebaseUI version: 3.0.0

Step 3: Describe the problem:

When calling Sign in UI with one provider, a quick "flashing" activity appears before sign in activity open,
according the animated demo at Auth description page, it might be provider selection activity, but not sure.

Steps to reproduce:

  1. Run sign in code with one provider (phone number)

Observed Results:

  1. Some unwanted activity flashes on screen (quick open and close probably)
  2. Phone number sign in activity opens

Expected Results:

Only Phone number sign in activity opens without "flashing"

Relevant Code:

startActivityForResult(
AuthUI.getInstance()
.createSignInIntentBuilder()
.setAvailableProviders(
Arrays.asList(
new AuthUI.IdpConfig.Builder(AuthUI.PHONE_VERIFICATION_PROVIDER).build()
.build(),
RC_SIGN_IN);

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