Plugin.Firebase.Crashlytics
3.0.0
dotnet add package Plugin.Firebase.Crashlytics --version 3.0.0
NuGet\Install-Package Plugin.Firebase.Crashlytics -Version 3.0.0
<PackageReference Include="Plugin.Firebase.Crashlytics" Version="3.0.0" />
paket add Plugin.Firebase.Crashlytics --version 3.0.0
#r "nuget: Plugin.Firebase.Crashlytics, 3.0.0"
// Install Plugin.Firebase.Crashlytics as a Cake Addin #addin nuget:?package=Plugin.Firebase.Crashlytics&version=3.0.0 // Install Plugin.Firebase.Crashlytics as a Cake Tool #tool nuget:?package=Plugin.Firebase.Crashlytics&version=3.0.0
Crashlytics
Firebase Firebase Crashlytics is a lightweight, realtime crash reporter that helps you track, prioritize, and fix stability issues that erode your app quality. Crashlytics saves you troubleshooting time by intelligently grouping crashes and highlighting the circumstances that lead up to them.
Installation
Nuget
Install-Package Plugin.Firebase.Crashlytics
Setup
- Follow the instructions for the basic setup
- Add the following line of code after calling
CrossFirebase.Initialize()
:
CrossFirebaseCrashlytics.Current.SetCrashlyticsCollectionEnabled(true);
iOS specifics
- Make sure to start your app without the debugger attached to be able to see the crashes in the firebase console
- For more specific instructions take a look at the official Firebase documentation
Android specifics
- At
Platforms/Android/Resources/values
add the following line to yourstrings.xml
:
<resources>
...
<string name="com.google.firebase.crashlytics.mapping_file_id">none</string>
...
</resources>
- For more specific instructions take a look at the official Firebase documentation
Usage
To test if everything is setup correctly, restart the app after a forced crash and visit the Crashlytics Dashboard to view your reports and statistics.
Take a look at the documentation for the AdamE.Firebase.iOS.Crashlytics packages, because Plugin.Firebase's code is abstracted but still very similar.
Since code should be documenting itself you can also take a look at the following class:
Release notes
- Version 3.0.0
- Swapped Xamarin.Firebase.iOS.Crashlytics (native SDK 8.10.0) for AdamE.Firebase.iOS.Crashlytics (native SDK 10.24.0)
- Version 2.0.3
- Fix StackTraceParser for Crashlytics (PR #255)
- Version 2.0.2
- Fix StackTraceParser for Crashlytics (PR #245)
- Version 2.0.1
- Remove unnecessary UseMaui property from csproj files
- Readd net6.0 tfm
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-android31.0 is compatible. net6.0-ios was computed. net6.0-ios16.1 is compatible. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Plugin.Firebase.Core (>= 3.0.0)
-
net6.0-android31.0
- Plugin.Firebase.Core (>= 3.0.0)
- Xamarin.Firebase.Crashlytics (>= 118.3.2)
-
net6.0-ios16.1
- AdamE.Firebase.iOS.Crashlytics (>= 10.24.0)
- Plugin.Firebase.Core (>= 3.0.0)
- System.Runtime.InteropServices.NFloat.Internal (>= 6.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Plugin.Firebase.Crashlytics:
Package | Downloads |
---|---|
Plugin.Firebase
The plugin includes cross-platform APIs for Firebase Analytics, Auth, Cloud Messaging, Crashlytics, Dynamic Links, Firestore, Cloud Functions, Remote Config and Storage. |
GitHub repositories
This package is not used by any popular GitHub repositories.