firebase / FirebaseUI-iOS

iOS UI bindings for Firebase.
Apache License 2.0
1.51k stars 475 forks source link

Activity indicator is displayed in black only during the process #1207

Open shosokawa opened 1 month ago

shosokawa commented 1 month ago

Step 2: Describe your environment

Step 3: Describe the problem:

Activity indicator is displayed in black only.

IMG_BBC47D495EC5-1

Steps to reproduce:

  1. Uses FUIPhoneAuth
          FeedbackGenerator.run(event: .tap)
        let authUI = FUIAuth.defaultAuthUI()!
        authUI.delegate = self
        authUI.providers = [FUIPhoneAuth(authUI: authUI)]
        let provider = authUI.providers.first as! FUIPhoneAuth
        provider.signIn(withPresenting: self, phoneNumber: nil)
  2. Follows the instructions to enter your phone number and code

Observed Results:

Activity indicator is displayed as "black square"

Expected Results:

Activity indicator is displayed as "indicator on black square"

Relevant Code:

I guess that this change on https://github.com/firebase/FirebaseUI-iOS/pull/1194 is the cause.

I tried to restore the style to UIActivityIndicatorViewStyleWhiteLarge from UIActivityIndicatorViewStyleLarge locally and it worked. IMG_6CC5953CF6DB-1

But UIActivityIndicatorViewStyleWhiteLarge is marked deprecated

nimamogh commented 3 weeks ago

same issue here