firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.46k stars 1.43k forks source link

non-fatal events doesn't appear on dashboard Crashlytics iOS #13226

Open AnatoliyOstapenko opened 5 days ago

AnatoliyOstapenko commented 5 days ago

Description

I am stuck with non-fatal events for the project, events don't appear on Crashlytics dashboard, I have test non-fatal events step by step by Google instruction, but it doesn't help. All of suggestions from stack overflow are not working too. Usual crashes (fatal) are working well. Checked by use on several devices, and in several projects.

Reproducing the issue

Crashlytics.crashlytics().record(error: NSError( domain: "API", code: -3, userInfo: [userIDKey: resultText]) )

There is no report non-fatal exceptions.

Hardware: MacBook Air Apple M1 Software: Xcode Version 15.0 (15A240d) Simulator iOS 17 Firebase SDC 10.28.1 -FIRDebugEnabled +

Firebase SDK Version

10.28.1

Xcode Version

iOS 17.0 (21A328)

Installation Method

Swift Package Manager

Firebase Product(s)

Crashlytics

Targeted Platforms

iOS

Relevant Log Output

Crashlytics.crashlytics().record(error: NSError(
    domain: "API",
    code: -3,
    userInfo: [userIDKey: resultText])
)

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
```json Replace this line with the contents of your Package.resolved. ```

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
```yml Replace this line with the contents of your Podfile.lock! ```
rizafran commented 3 days ago

Hi @AnatoliyOstapenko, I tried to reproduce the issue, but my non-fatal crashes are showing in the Crashlytics dashboard. I just want to check if your filter is set to Event type = "Crashes" instead of none in the dashboard?