axlrtr
axlrtr

Reputation: 575

Adding firebase to app in firebase console stalls on step 4

I have followed the steps to add firebase to our xamarin (forms) apps: https://learn.microsoft.com/en-us/xamarin/android/data-cloud/google-messaging/remote-notifications-with-fcm?tabs=windows.

I have tested this through postman and notifications work fine by sending notifications to https://fcm.googleapis.com/fcm/send

The question is regarding the firebase console. When adding firebase to the app project it stalls on step 4: "Run your app to verify installation", even though I've run the app several times and tested notifications through http. Any idea why or what I need to do to get this to work?

Upvotes: 3

Views: 890

Answers (1)

Kapusch
Kapusch

Reputation: 417

For everybody that still needs to understand how it is possible to finalize the Firebase SDK verification in Xamarin.Forms, all you have to do is :

  1. Add your platform(s) specific implementation of Xamarin Firebase Core NuGet
  2. Initialize Firebase SDK in each platform. For example, in iOS :
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
    // ...

    Firebase.Core.App.Configure();

    return base.FinishedLaunching(app, options);
}
  1. Launch your application either on Simulator or an actual device.

Upvotes: 1

Related Questions