Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Xamarin.Firebase.Auth wont work when install Xamarin.Firebase.Messages

$
0
0

I'm struggling to understand why when I install Xamarin.Firebase.Messaging the auth is null in the code below:

private void InitFirebaseAuth()
{
     app = FirebaseApp.Instance;

     auth = FirebaseAuth.GetInstance(app);

     using (var user = auth.CurrentUser)
     {
          if (user != null)
          {
               StartActivity(new Intent(this, typeof(MainActivity)));
               Finish();
          }
      }            
}

auth = FirebaseAuth.GetInstance(app) is null, when I uninstall Xamarin.FIrebase.Messaging everything works fine.

I think that there is something with NuGet packages but I can't resolve this problem.

The version of packages like the foto below:

enter image description here

Any help, please?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>