Share via

Guidance Required for Firebase Analytics & Crashlytics Integration in .NET MAUI (.NET 10)

Reka Ravi 5 Reputation points
2026-03-18T17:56:05.2766667+00:00

We are currently working on a .NET MAUI mobile application and need to integrate Firebase Analytics and Crashlytics.

Previously, in .NET 8, we created a proof of concept (POC) using Xamarin-based packages such as Xamarin.Firebase, Xamarin.Firebase.Analytics, and Xamarin.Firebase.Crashlytics. In that POC, we were successfully able to track events in the Firebase Console. However, this implementation was not carried forward into our production application.

Since then, we have upgraded our project to .NET 9 and now to .NET 10. As part of this upgrade, we are attempting to implement Firebase Analytics and Crashlytics again by creating a new POC in .NET 10.

During this process, we encountered issues when using the older Xamarin.Firebase packages. As a result, we tried alternative packages:

  • Plugin.Firebase
  • Plugin.Firebase.Analytics
  • Plugin.Firebase.Crashlytics

Despite following the standard setup steps, we are unable to get Firebase Analytics events or Crashlytics logs working in our .NET 10 MAUI application.

Steps we followed:

  1. Created a Firebase project in the console and added an Android app.
  2. Set the package name (e.g., com.company.firebasepoc) during setup.
  3. Downloaded the google-services.json file.User's image
  4. Created a MAUI project with the same package name.
  5. Placed the google-services.json file under Platforms/Android.
  6. Updated the package name in AndroidManifest.xml and the project file (.csproj).
  7. Installed the required NuGet packages:
    • Plugin.Firebase
    • Plugin.Firebase.Analytics
    • Plugin.Firebase.Crashlytics
  8. Implemented a basic button click event to log analytics events.

Issue:

Firebase Analytics events and Crashlytics logs are not being recorded or visible in the Firebase Console.

Questions:

  • Is it currently supported to use these Firebase-related packages with .NET 10 MAUI applications?
  • Are Xamarin.Firebase or Plugin.Firebase packages compatible with .NET 10?
  • Is there a recommended or official approach for integrating Firebase Analytics and Crashlytics in .NET MAUI (especially for .NET10)?
  • Are there any additional configuration steps that we might be missing?

We would appreciate guidance on the correct approach to implement Firebase services in the latest versions of .NET MAUI.

Thank you.

Developer technologies | .NET | .NET MAUI
0 comments No comments

2 answers

Sort by: Most helpful
  1. DiloIdroj 0 Reputation points
    2026-03-23T10:50:42.41+00:00

    In my case, adding an extra argument to the csproj file works.

    I have four property groups in my csproj file based on platform and mode (debug or release).

    Therefore, following this pattern, in the property group for iOS Release, I have these arguments

    <FirebaseCrashlyticsUploadSymbolsEnabled>True</FirebaseCrashlyticsUploadSymbolsEnabled>
    <FirebaseCrashlyticsUploadSymbolsContinueOnError>False</FirebaseCrashlyticsUploadSymbolsContinueOnError>
    <MtouchExtraArgs>$(MtouchExtraArgs) -gcc_flags="-Wl,-exported_symbol,__mh_execute_header"</MtouchExtraArgs>
    
    
    

    I hope it works for you!


  2. Nancy Vo (WICLOUD CORPORATION) 1,985 Reputation points Microsoft External Staff Moderator
    2026-03-19T03:45:38.8666667+00:00

    Hi @Reka Ravi ,

    Thank you for reaching out.

    Is it currently supported to use these Firebase-related packages with .NET 10 MAUI applications?

    Yes, it can be used in practice, but it’s not officially supported by Microsoft if you’re using third‑party plugins. .NET MAUI 10 itself is supported by Microsoft, but Firebase Analytics/Crashlytics integration is not a first‑party MAUI feature

    Are Xamarin.Firebase or Plugin.Firebase packages compatible with .NET 10?

    • With Xamarin.Firebase: Xamarin as a product line is end-of-support. That doesn’t instantly break the NuGets, but it may hit platform-policy problems. I would not recommend using this.
    • With Plugin.Firebase: I recommend using this but with caveats. It is actively maintained. Minimum .NET version raised to .NET 9, but explicitly works on .NET 10.

    While this is a non-microsoft link, it's an official link of Nuget and it's safe to visit.

    Is there a recommended or official approach for integrating Firebase Analytics and Crashlytics in .NET MAUI (especially for .NET10)?

    There is no single official Microsoft-provided Firebase Analytics/Crashlytics SDK for MAUI. But they also provide guidance to use MAUI’s ability to bind/call native libraries if you need Firebase.

    Are there any additional configuration steps that we might be missing?

    I recommend some additional steps:

    • You need one single package name everywhere. If these don’t match perfectly, Firebase will treat your app as “a different app” and data won’t appear.
    • Put google-services.json in the correct place and set the correct Build Action. It's put in Platforms/Android/google-services.json and then set in Visual Studio properties: Build Action = GoogleServicesJson.
    • Make sure you initialize Firebase early. Most Firebase wrappers require an explicit initialization call during app startup. If you don’t initialize, calls like “LogEvent” can run but do nothing.

    In MauiProgram.cs:

    
       public static MauiApp CreateMauiApp()
       {
           var builder = MauiApp.CreateBuilder();
           // ... 
    
           CrossFirebase.Initialize(); 
    
           return builder.Build();
       }
    

    Hope this helps. If you found my response helpful or informative, I would greatly appreciate it if you could follow this guidance provide feedback. Thank you.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.