Hello,
Welcome to our Microsoft Q&A platform!
You could try to add the following code, the Init
method is necessary:
Firebase.Core.App.Configure();
Crashlytics.SharedInstance.Init();
Crashlytics.SharedInstance.SetCrashlyticsCollectionEnabled(true);
Crashlytics.SharedInstance.SendUnsentReports();
I test an out-of-bounds crash of an array.
private void Button_Clicked(object sender, EventArgs e)
{
var list = new List<string>
{
"11111",
"2",
"3",
"4",
"5",
"6",
"7",
};
for (int i = 0; i < 10; i++)
{
Console.WriteLine("{0}",list[i]);
}
}
In the dashboard, I see an error " This app has 2 unprocessed crash issues. Please upload 2 dSYM files to handle the crash.
" It means that the crash can be reported to Crashlytics Dashboard, but I didn't upload the dSYM files. You may not encounter this issue if you upload a dSYM file.
For more information, you could refer to
https://github.com/xamarin/GoogleApisForiOSComponents/blob/main/docs/Firebase/Crashlytics/GettingStarted.md
https://github.com/xamarin/GoogleApisForiOSComponents/blob/main/source/Firebase/Crashlytics/readme.txt
https://firebase.google.com/docs/crashlytics/get-deobfuscated-reports?platform=ios#check-xcode
https://learn.microsoft.com/en-us/answers/questions/235971/upload-1-missing-dsym-required-to-process-12-crash.html
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.