firebase / FirebaseUI-Flutter

Apache License 2.0
109 stars 101 forks source link

[firebase_ui_auth] Do not throw an exception if provider icon is not found in `ProfileScreen` #383

Open Rexios80 opened 3 months ago

Rexios80 commented 3 months ago

Is there an existing issue for this?

What plugin is this bug for?

Firebase UI Auth

What platform(s) does this bug affect?

No response

List of dependencies used.

Not relevant

Steps to reproduce

Expected Behavior

One of the following:

Actual Behavior

Error getting the icon for the OIDC provider breaks the UI

Additional Information

No response

russellwheatley commented 2 months ago

hey @Rexios80 - please provide a code snippet I can easily drop into my main.dart file that reproduces this behaviour.

Rexios80 commented 2 months ago

I get this exception when using an OidcProvider provider from https://pub.dev/packages/firebase_ui_oauth_oidc. An example would require setting up an OIDC provider in the FIrebase console.