FirebaseUI-Android icon indicating copy to clipboard operation
FirebaseUI-Android copied to clipboard

Error with FirebaseAuthProvider

Open 13wiki07 opened this issue 1 year ago • 0 comments

Welcome to FirebaseUI and thanks for submitting an issue!

Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.

If not, please feel free to fill in the following info so we can help faster!

Step 1: Are you in the right place?

  • For issues or feature requests related to the code in this repository file a GitHub issue.
  • For general technical questions, post a question on StackOverflow tagged appropriately.
  • For general Firebase discussion, use the firebase-talk google group
  • For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel

Step 2: Describe your environment

  • Android device: my own samsung
  • Android OS version: _____
  • Google Play Services version: _____
  • Firebase/Play Services SDK version: _____
  • FirebaseUI version: ____

Step 3: Describe the problem:

###I have a problem with FirebaseAuthProvider: image I really don't know how to repair it. image

In every tutorial or something like that nobody has that issue. I updated everything. Please help.

I already have this: image

Steps to reproduce:

  1. i just write Providers = new Firebase.Auth.FirebaseAuthProvider[]

Observed Results:

  • it has error but i don't know why.

Expected Results:

  • it should work like in tutorials without error

Relevant Code:

public class ConnectionFirebase
{
  public static FirebaseAuthClient ClientFirebase()
  {
      // Configure...
      var config = new FirebaseAuthConfig
      {
          ApiKey = "<API KEY>",
          AuthDomain = "<DOMAIN>.firebaseapp.com",
          Providers = new Firebase.Auth.FirebaseAuthProvider[]
          {
              // Add and configure individual providers
              new GoogleProvider().AddScopes("email"),
              new EmailProvider()
              // ...
          },
      };

      // ...and create your FirebaseAuthClient
      var client = new FirebaseAuthClient(config);

      return client;
  }
}

13wiki07 avatar Jun 17 '24 14:06 13wiki07